IgnoredPlaceholder Class Reference

#include <tuple.h>

详细描述

A placeholder that can be assigned any value without having any effect. This is useful in conjunction with Tie:

Int x; Tie ( Ignore , x, Ignore ) = FunctionReturningTupleOf3(); // We were only interested in the second element.

Ignore is the equivalent of std::ignore.

公共成员函数

  IgnoredPlaceholder ()
template<typename T >
const IgnoredPlaceholder operator= (const T &) const

构造函数 & 析构函数文档编制

◆  IgnoredPlaceholder()

IgnoredPlaceholder ( )

成员函数文档编制

◆  operator=()

const IgnoredPlaceholder & operator= ( const T &  ) const
Int
maxon::Int Int
定义: ge_sys_math.h:62
maxon::Tie
auto Tie(TYPES &... args) -> Tuple< TYPES &... >
定义: tuple.h:1176
maxon::Ignore
static const IgnoredPlaceholder Ignore
定义: tuple.h:1137