|
Boost : |
Subject: Re: [boost] [type_traits]type_traits for types with operator().
From: Anton Bikineev (ant.bikineev_at_[hidden])
Date: 2014-01-31 08:01:13
> This looks cool. However what does it detect? Any operator() or nullary
> operator()?
It detects any operator(), because expression
&detail::is_functional_composed<T>::operator() is ambiguos when
detail::is_functional_composed<T> has two or more operator().
But is_callable looks really better. Sorry for suggestion.
Best regards, Anton.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk