Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-08-25 11:50:18


Ion Gaztañaga <igaztanaga <at>> 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, gregod at, cpdaniel at, john at