|
Boost : |
From: Steven Watanabe (steven_at_[hidden])
Date: 2007-08-25 11:50:18
AMDG
Ion Gaztañaga <igaztanaga <at> gmail.com> writes:
> -> Someone knows have to make a function static or not depending on a
> compile-time boolean.
>
static typename boost::enable_if_c<should_be_static, result_type>::type f();
typename boost::disable_if_c<should_be_static, result_type>::type f();
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk