clang  3.9.0
Public Member Functions | List of all members
clang::Sema::SFINAETrap Class Reference

RAII class used to determine whether SFINAE has trapped any errors that occur during template argument deduction. More...

#include <Sema.h>

Public Member Functions

 SFINAETrap (Sema &SemaRef, bool AccessCheckingSFINAE=false)
 
 ~SFINAETrap ()
 
bool hasErrorOccurred () const
 Determine whether any SFINAE errors have been trapped. More...
 

Detailed Description

RAII class used to determine whether SFINAE has trapped any errors that occur during template argument deduction.

Definition at line 6955 of file Sema.h.

Constructor & Destructor Documentation

clang::Sema::SFINAETrap::SFINAETrap ( Sema SemaRef,
bool  AccessCheckingSFINAE = false 
)
inlineexplicit
clang::Sema::SFINAETrap::~SFINAETrap ( )
inline

Member Function Documentation

bool clang::Sema::SFINAETrap::hasErrorOccurred ( ) const
inline

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