24 Jul
2012
24 Jul
'12
2:26 p.m.
AMDG On 07/24/2012 03:39 AM, Alexander Stoyan wrote:
Is there any way to negate concept check, so that it'd be possible to assert if a type is NOT DefaultConstructible, etc. ?
For this to work, you need to be able to create a boolean test to determine whether the type models the concept. Boost.ConceptCheck doesn't support this. However, you should check the C++11 type traits to see if they include what you need. In Christ, Steven Watanabe