Boost logo

Boost Users :

Subject: Re: [Boost-users] Checking if a stand-alone function exists
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2010-10-27 13:22:14


On Mon, Oct 25, 2010 at 4:48 PM, Ioannis Papadopoulos
<ipapadop_at_[hidden]>wrote:

> Hi,
>
> Is there a way of checking if a stand-alone function exists?
>
> Thanks

If you need this as compile-time functionality and the function you want to
look for is not nullary then I believe you should be able to hack together a
solution using SFINAE, at least in 0x.

-- 
-Matt Calabrese


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