
18 Apr
2015
18 Apr
'15
11:16 p.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.