Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
base::internal::CheckOnFailure Struct Reference

#include <safe_conversions_impl.h>

Static Public Member Functions

template<typename T >
static T HandleFailure ()
 

Detailed Description

Definition at line 115 of file safe_conversions_impl.h.

Member Function Documentation

◆ HandleFailure()

template<typename T >
static T base::internal::CheckOnFailure::HandleFailure ( )
inlinestatic

Definition at line 117 of file safe_conversions_impl.h.

117 {
118#if defined(_MSC_VER)
119 __debugbreak();
120#elif defined(__GNUC__) || defined(__clang__)
121 __builtin_trap();
122#else
123 ((void)(*(volatile char*)0 = 0));
124#endif
125 return T();
126 }
#define T
Definition: precompiler.cc:65

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