This constructs an empty change for n bells, which will initially contain no swaps, that is, all bells will remain in the same place.
This is the copy constructor; it makes a new copy of c.
This constructs a change on n bells, with place notation as given in pn. This should consist of a sequence of characters which signify the places to be made, arranged in ascending order. If no places are to be made, the string
"X"
should be used. Note that you can miss out external places, unless no internal places are made at all. If the place notation is not valid, this constructor will throw an exception of classchange::invalid
.