LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
LatBuilder::ClonePtr< T > Class Template Reference

Copyable alternative to std::unique_ptr<> for cloneable objects. More...

#include <ClonePtr.h>

Inherits std::unique_ptr< T >.

Public Member Functions

 ClonePtr (T *t=nullptr)
 
 ClonePtr (const ClonePtr< T > &p)
 
 ClonePtr (const std::unique_ptr< T > &p)
 
ClonePtroperator= (const ClonePtr< T > &p)
 
ClonePtroperator= (ClonePtr< T > &&p)
 

Detailed Description

template<typename T>
class LatBuilder::ClonePtr< T >

Copyable alternative to std::unique_ptr<> for cloneable objects.

Template Parameters
TType of object pointed to. Must implement a clone() member.

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