|
Boost : |
Subject: Re: [boost] [type_traits] has_member_function_callable_with
From: Daniel James (dnljms_at_[hidden])
Date: 2011-09-15 19:38:09
On 16 September 2011 00:32, Daniel James <dnljms_at_[hidden]> wrote:
> 2011/9/15 Ion Gaztañaga <igaztanaga_at_[hidden]>:
>> Hi to all,
>>
>> Trying to port C++11 code (allocator_traits) to C++03 (without decltype
>> support), I needed to check at compile time if a member function can be
>> called with some given parameters.
>
> Take a look at:
>
> http://svn.boost.org/svn/boost/trunk/boost/unordered/detail/allocator_helpers.hpp
Oh, and very rough and incomplete documentation of its inadequacies at:
http://boost-sandbox.sourceforge.net/doc/html/unordered/compliance.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk