For example, a criminal defendant can waive his constitutional right to representation by counsel and to a trial by jury.