Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
Boolean Generators

Expression

Attribute

Description

lit(num)

Unused

Generate num

bool_

bool

Generate a boolean

bool_(b)

bool

Generate b as a boolean, if an attribute is supplied it must match

bool_generator<
    B, Policies
>()

B

Generate a boolean of type B

bool_generator<
    B, Policies
>()(b)

B

Generate a boolean b as a B, if an attribute is supplied it must match


PrevUpHomeNext