Re: [C++-sig] How about class_<...>.enable_copy() ?
June 8, 2007
6:35 p.m.
Is there a common short idiom that does that already? Is there a rationale for not providing copying support?
Simply wrap the copy constructor with .def(init<>), e.g.: .def(init<your_type const&>((arg("other")))) Ralf ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
7061
Age (days ago)
7061
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ralf W. Grosse-Kunstleve