|
Boost : |
Subject: Re: [boost] [contract] static assertions
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-05-15 20:50:57
----- Original Message -----
From: "Lorenzo Caminiti" <lorcaminiti_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, May 13, 2010 10:32 PM
Subject: Re: [boost] [contract] static assertions
>
> On Thu, May 13, 2010 at 4:24 PM, Thorsten Ottosen <nesotto_at_[hidden]> wrote:
>> Lorenzo Caminiti skrev:
>>> Shall Boost.Contract static static assertions?
>>>
>>> 1) N1962 removed static assertions previously added by revisions N1866
>>> and N1773 of the same proposal -- why?
>>
>> static_assert was added to the language.
>
> Makes sense.
>
> Do you think it would be valuable for my library to support static assertions?
If what you want is a uniform way you could always forward to the Boost.StaticAssert library. Boost.Mpl provide also some interesting variants that could also be forwarded.
Best,
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk