rcolyer.net
RC Lib  Version 202403231100
Classes | Namespaces | Functions
Ptr.h File Reference

Provides a safe pointer class which throws exceptions. More...

#include "Errors.h"
#include "Macros.h"
#include <iostream>
#include "PtrCommon.h"

Go to the source code of this file.

Classes

class  RC::Ptr< T >
 A safe pointer class that throws an RC::ErrorMsgNull if a null dereference is attempted. More...
 

Namespaces

 RC
 

Functions

template<class T >
std::ostream & RC::operator<< (std::ostream &out, Ptr< T > obj)
 A convenience stream output for displaying the enclosed object.
 
template<class T , class... Args>
Ptr< T > RC::MakePtr (Args &&... args)
 Create a new Ptr<T> constructed with the given arguments.
 

Detailed Description

Provides a safe pointer class which throws exceptions.

email address
— (c) 2015