Audacity 3.2.0
Public Member Functions | List of all members
Tester< Const, ref >::Y Struct Reference

Structure can specialize with only a non-const member function. More...

Public Member Functions

template<bool C>
auto memberfunction () -> std::enable_if_t<!C, ResultType >
 
template<bool C>
auto memberfunction () const -> std::enable_if_t< C, ResultType >
 

Detailed Description

template<bool Const, Ref ref = lvalue>
struct Tester< Const, ref >::Y

Structure can specialize with only a non-const member function.

Definition at line 55 of file VariantTest.cpp.

Member Function Documentation

◆ memberfunction() [1/2]

template<bool Const, Ref ref = lvalue>
template<bool C>
auto Tester< Const, ref >::Y::memberfunction ( ) -> std::enable_if_t<!C, ResultType>
inline

Definition at line 56 of file VariantTest.cpp.

57 { return value<1>(); }

◆ memberfunction() [2/2]

template<bool Const, Ref ref = lvalue>
template<bool C>
auto Tester< Const, ref >::Y::memberfunction ( ) const -> std::enable_if_t<C, ResultType>
inline

Definition at line 58 of file VariantTest.cpp.

59 { return value<1>(); }

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