Boost logo

Boost Users :

Subject: Re: [Boost-users] Concept check negation
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-07-24 10:26:52


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net