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
array::if_contains

Return a pointer to an element, or nullptr if the index is invalid.

value const*
if_contains(
    std::size_t pos) const;
  » more...

value*
if_contains(
    std::size_t pos);
  » more...

PrevUpHomeNext