stdFoam Namespace Reference

Functions

template<class C >
constexpr auto begin (C &c) -> decltype(c.begin())
 Return iterator to the beginning of the container c. More...
 
template<class C >
constexpr auto begin (const C &c) -> decltype(c.begin())
 Return const_iterator to the beginning of the container c. More...
 
template<class C >
constexpr auto cbegin (const C &c) -> decltype(c.begin())
 Return const_iterator to the beginning of the container c. More...
 
template<class C >
constexpr auto end (C &c) -> decltype(c.end())
 Return iterator to the end of the container c. More...
 
template<class C >
constexpr auto end (const C &c) -> decltype(c.end())
 Return const_iterator to the end of the container c. More...
 
template<class C >
constexpr auto cend (const C &c) -> decltype(c.end())
 Return const_iterator to the end of the container c. More...
 
template<class C >
constexpr auto rbegin (C &c) -> decltype(c.rbegin())
 Return reverse_iterator to the reverse-begin of container c. More...
 
template<class C >
constexpr auto rbegin (const C &c) -> decltype(c.rbegin())
 Return const_reverse_iterator to the reverse-begin of container c. More...
 
template<class C >
constexpr auto crbegin (const C &c) -> decltype(c.rbegin())
 Return const_reverse_iterator to the reverse-begin of container c. More...
 
template<class C >
constexpr auto rend (C &c) -> decltype(c.rend())
 Return reverse_iterator to reverse-end of container c. More...
 
template<class C >
constexpr auto rend (const C &c) -> decltype(c.rend())
 Return const_reverse_iterator to reverse-end of container c. More...
 
template<class C >
constexpr auto crend (const C &c) -> decltype(c.rend())
 Return const_reverse_iterator to reverse-end of container c. More...
 
template<class T >
constexpr const Tmin (const T &a, const T &b)
 Return the lesser of the parameters. More...
 
template<class T >
constexpr const Tmax (const T &a, const T &b)
 Return the greater of the parameters. More...
 

Detailed Description

Function Documentation

◆ begin() [1/2]

constexpr auto begin ( C c) -> decltype(c.begin())
constexpr

Return iterator to the beginning of the container c.

Definition as per std::begin C++17

Definition at line 134 of file stdFoam.H.

◆ begin() [2/2]

constexpr auto begin ( const C c) -> decltype(c.begin())
constexpr

Return const_iterator to the beginning of the container c.

Definition as per std::begin C++17

Definition at line 142 of file stdFoam.H.

◆ cbegin()

constexpr auto cbegin ( const C c) -> decltype(c.begin())
constexpr

Return const_iterator to the beginning of the container c.

Definition as per std::cbegin C++17

Definition at line 150 of file stdFoam.H.

◆ end() [1/2]

constexpr auto end ( C c) -> decltype(c.end())
constexpr

Return iterator to the end of the container c.

Definition as per std::end C++17

Definition at line 158 of file stdFoam.H.

◆ end() [2/2]

constexpr auto end ( const C c) -> decltype(c.end())
constexpr

Return const_iterator to the end of the container c.

Definition as per std::end C++17

Definition at line 166 of file stdFoam.H.

◆ cend()

constexpr auto cend ( const C c) -> decltype(c.end())
constexpr

Return const_iterator to the end of the container c.

Definition as per std::cend C++17

Definition at line 174 of file stdFoam.H.

◆ rbegin() [1/2]

constexpr auto rbegin ( C c) -> decltype(c.rbegin())
constexpr

Return reverse_iterator to the reverse-begin of container c.

Definition as per std::rbegin C++17

Definition at line 185 of file stdFoam.H.

◆ rbegin() [2/2]

constexpr auto rbegin ( const C c) -> decltype(c.rbegin())
constexpr

Return const_reverse_iterator to the reverse-begin of container c.

Definition as per std::rbegin C++17

Definition at line 193 of file stdFoam.H.

◆ crbegin()

constexpr auto crbegin ( const C c) -> decltype(c.rbegin())
constexpr

Return const_reverse_iterator to the reverse-begin of container c.

Definition as per std::crbegin C++17

Definition at line 201 of file stdFoam.H.

◆ rend() [1/2]

constexpr auto rend ( C c) -> decltype(c.rend())
constexpr

Return reverse_iterator to reverse-end of container c.

Definition as per std::rend C++17

Definition at line 209 of file stdFoam.H.

◆ rend() [2/2]

constexpr auto rend ( const C c) -> decltype(c.rend())
constexpr

Return const_reverse_iterator to reverse-end of container c.

Definition as per std::rend C++17

Definition at line 217 of file stdFoam.H.

◆ crend()

constexpr auto crend ( const C c) -> decltype(c.rend())
constexpr

Return const_reverse_iterator to reverse-end of container c.

Definition as per std::crend C++17

Definition at line 225 of file stdFoam.H.

◆ min()

constexpr const T & min ( const T a,
const T b 
)
inlineconstexpr

Return the lesser of the parameters.

Definition as per std::min C++14

Definition at line 233 of file stdFoam.H.

References b.

◆ max()

constexpr const T & max ( const T a,
const T b 
)
inlineconstexpr

Return the greater of the parameters.

Definition as per std::max C++14

Definition at line 241 of file stdFoam.H.

References b.