nullvalue.h File Reference

Detailed Description

Null value definitions

Classes

struct  DefaultNullValue< T >
 
class  NullValueFunctions< T >
 
class  NullValueDetector< T, f >
 
class  NullValueZeroInitializedHelper< T >
 
class  NullValueZeroInitializedHelper< T & >
 
class  NullValueZeroInitializedHelper< const T & >
 
class  NullValueTypeHelper< T >
 
class  NullValueTypeHelper< T & >
 
class  NullValueTypeHelper< const T & >
 
class  NullValueFunctionsHelper< T >
 
class  NullValueFunctionsHelper< T & >
 
class  NullValueFunctionsHelper< const T & >
 
class  NullValueFunctions< Result< T > >
 

Namespaces

 maxon
 

Enumerations

enum class  NULL_RETURN_REASON {
  NULLPTR ,
  MAKE_WRITABLE_FAILED ,
  UNRESOLVED ,
  NULLIMPL
}
 

Functions

template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE const T & PrivateConstRefNullValue (T *, OverloadRank0)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE const T & PrivateConstRefNullValueHelper (OverloadRank0)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE NullValueDetector< const T &, &T::NullValue >::type PrivateConstRefNullValueHelper (OverloadRank1)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE NullValueDetector< const T &, &T::NullValueRef >::type PrivateConstRefNullValueHelper (OverloadRank2)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINEPrivateNullValueHelper (OverloadRank0)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE NullValueDetector< T, &T::NullValue >::type PrivateNullValueHelper (OverloadRank1)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE NullValueDetector< const T &, &T::NullValue >::type PrivateNullValueHelper (OverloadRank1)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINEPrivateNullValueDispatcher (OverloadRank0)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE SFINAEHelper< T, typename NullValueFunctions< typename std::decay< T >::type >::Default >::type PrivateNullValueDispatcher (OverloadRank1)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if< IsZeroInitialized< typename std::decay< T >::type >::value||STD_IS_REPLACEMENT(same, typename std::decay< T >::type, Generic), T >::type PrivateNullValueDispatcher (OverloadRank2)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINENullValue ()
 
template<>
MAXON_ATTRIBUTE_FORCE_INLINE void NullValue< void > ()
 
enum maxon::NULL_RETURN_REASON MAXON_ENUM_LIST (NULL_RETURN_REASON)
 
ThreadReferencedError PrivateGetNullReturnError (NULL_RETURN_REASON reason)
 
MAXON_ATTRIBUTE_FORCE_INLINE void PrivateLogNullptrError ()
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool PrivateLogNullptrError (Bool result)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINEPrivateNullReturnValue (NULL_RETURN_REASON reason, OverloadRank0)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE SFINAEHelper< T, typename NullValueFunctions< typename std::decay< T >::type >::Default >::type PrivateNullReturnValue (NULL_RETURN_REASON reason, OverloadRank1)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE SFINAEHelper< T, typename NullValueFunctions< typename std::decay< T >::type >::ResultMarker >::type PrivateNullReturnValue (NULL_RETURN_REASON reason, OverloadRank2)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if< STD_IS_REPLACEMENT(same, Id, typename std::decay< T >::type), T >::type PrivateNullReturnValue (NULL_RETURN_REASON reason, OverloadRank3)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if< IsZeroInitialized< typename std::decay< T >::type >::value||STD_IS_REPLACEMENT(same, typename std::decay< T >::type, Generic), T >::type PrivateNullReturnValue (NULL_RETURN_REASON reason, OverloadRank4)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINEPrivateIncompleteNullReturnValue (NULL_RETURN_REASON reason, OverloadRank0)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE SFINAEHelper< T, typename NullValueFunctions< typename std::decay< T >::type >::Default >::type PrivateIncompleteNullReturnValue (NULL_RETURN_REASON reason, OverloadRank1)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE SFINAEHelper< T, typename NullValueFunctions< typename std::decay< T >::type >::ResultMarker >::type PrivateIncompleteNullReturnValue (NULL_RETURN_REASON reason, OverloadRank2)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if< STD_IS_REPLACEMENT(same, Id, typename std::decay< T >::type), T >::type PrivateIncompleteNullReturnValue (NULL_RETURN_REASON reason, OverloadRank3)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if< IsZeroInitialized< typename std::decay< T >::type >::value, T >::type PrivateIncompleteNullReturnValue (NULL_RETURN_REASON reason, OverloadRank4)
 

Variables

Char g_writableMemory [1024]
 
 NULLPTR
 
 MAKE_WRITABLE_FAILED
 
 UNRESOLVED
 
 NULLIMPL
 

Variable Documentation

◆ NULLPTR

NULLPTR

◆ MAKE_WRITABLE_FAILED

MAKE_WRITABLE_FAILED

◆ UNRESOLVED

UNRESOLVED

◆ NULLIMPL

NULLIMPL