QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches

qx::trait::construct_ptr<T>::get(T & t, bool bReset = false) : instantiate (or reset) a new pointer, support both nude-pointer and smart-pointer of boost, Qt and QxOrm libraries More...

#include <construct_ptr.h>

Classes

struct  new_ptr
 
struct  new_ptr< true, dummy >
 

Static Public Member Functions

static void get (T &t, bool bReset=false)
 

Private Types

typedef std::remove_pointer< T >::type type_ptr
 

Detailed Description

template<typename T>
struct qx::trait::construct_ptr< T >

qx::trait::construct_ptr<T>::get(T & t, bool bReset = false) : instantiate (or reset) a new pointer, support both nude-pointer and smart-pointer of boost, Qt and QxOrm libraries

Definition at line 62 of file construct_ptr.h.

Member Typedef Documentation

◆ type_ptr

template<typename T >
typedef std::remove_pointer<T>::type qx::trait::construct_ptr< T >::type_ptr
private

Definition at line 67 of file construct_ptr.h.

Member Function Documentation

◆ get()

template<typename T >
static void qx::trait::construct_ptr< T >::get ( T & t,
bool bReset = false )
inlinestatic

Definition at line 71 of file construct_ptr.h.


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