
19 Apr
2015
19 Apr
'15
5:16 a.m.
Does one use has_trivial_copy or has_nothrow_copy to determine if a class has a copy constructor or not ? I am writing some code that can do different things depending on whether a particular class has a copy constructor or does not have a copy constructor. I do not really care whether the copy constructor is a compiler generated copy constructor or not.