3#ifndef _aspose_system_default_h_
4#define _aspose_system_default_h_
6#include "system/boxable_traits.h"
7#include "system/shared_ptr.h"
8#include "system/object.h"
16typename std::enable_if<IsExceptionWrapper<T>::value,
const T&>::type
Default()
18 static T value = T(
nullptr);
25typename std::enable_if<!IsExceptionWrapper<T>::value,
const T&>::type
Default()
43 T value = Default<T>();
Definition: db_command.h:9
auto Discard()
Returns the default-constructed temporary instance of the specified type, which can be placed instead...
Definition: default.h:34
std::enable_if< IsExceptionWrapper< T >::value, constT & >::type Default()
Returns the default-constructed instance of the specified type.
Definition: default.h:16