class typed_set - masaharu-kato/cype GitHub Wiki

class cype::typed_set

Reference

Template arguments

  • Types... (multiple) : Type(s) to use

Constructor

typed_set()

  • Default constructor.

typed_set(const Types&...)

  • Construct with type(s) to use, specified in the template argument.
  • Corresponds to template argument deduction

typed_set(const _Types&...)

  • _Types... : Types(s) to use to construct
  • Construct with different type(s) than the type(s) specified in the template argument.

Member Functions

get<_Type>() const

  • class _Type : Type to get
  • get value of specified type.

get<_Index>() const

  • size_t _Index : Index to get
  • get value of specified index.

extract<_Types...>() const

  • class _Types... (multiple) : Type(s) to extract
  • extract value(s) of specified type(s)
⚠️ **GitHub.com Fallback** ⚠️