cds  2.3.2
cds::opt::select< What, Pairs > Struct Template Reference

Select option metafunction. More...

#include <cds/opt/options.h>

Public Types

typedef details::select< What, Pairs... >::type type
 Metafunction result.
 

Detailed Description

template<typename What, typename... Pairs>
struct cds::opt::select< What, Pairs >

Select option metafunction.

Pseudocode:

select <What, T1, R1, T2, R2, ... Tn, Rn> ::=
if What == T1 then return R1
if What == T2 then return R2
...
if What == Tn then return Rn
else return What

The documentation for this struct was generated from the following file:

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:51 by Doxygen 1.8.13