Hans Åberg <haber...@telia.com> writes: >> On 21 Jun 2018, at 00:30, nine.fierce.ball...@gmail.com wrote: > >> Maybe a function would help: >> >> Transform make_transform(const Transform *t) >> { >> return t ? Transform (*t) : Transform (); >> } >> >> You could also do it as a constructor, if you prefer its syntax and >> don't mind implementing yet another one: >> >> explicit Transform(const Transform *t) ... > > One can also use a tag type argument in the constructor: > struct make_t {}; > constexpr make_t make{};
What would that be good for? -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel