proxygen
folly::gen::ExprIsConst< Constness > Struct Template Reference

#include <Base.h>

Public Types

enum  { value = Constness == Const }
 

Detailed Description

template<MemberType Constness>
struct folly::gen::ExprIsConst< Constness >

These exist because MSVC has problems with expression SFINAE in templates assignment and comparisons don't work properly without being pulled out of the template declaration

Definition at line 586 of file Base.h.

Member Enumeration Documentation

template<MemberType Constness>
anonymous enum
Enumerator
value 

Definition at line 587 of file Base.h.

587  {
588  value = Constness == Const,
589  };

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