Classes | Macros | Functions
vil_smart_ptr.hxx File Reference
#include <iostream>
#include "vil_smart_ptr.h"

Go to the source code of this file.

Classes

struct  vil_smart_ptr_T_as_string< T >
 

Macros

#define VIL_SMART_PTR_INSTANTIATE(T, ...)
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &os, vil_smart_ptr< T > const &r)
 

Macro Definition Documentation

◆ VIL_SMART_PTR_INSTANTIATE

#define VIL_SMART_PTR_INSTANTIATE (   T,
  ... 
)
Value:
template class __VA_ARGS__ vil_smart_ptr<T >; \
template <> struct __VA_ARGS__ vil_smart_ptr_T_as_string<T > \
{ static char const *str() { return #T; } }; \
template __VA_ARGS__ std::ostream& operator<< (std::ostream&, vil_smart_ptr<T > const&)
A templated smart pointer class.
Definition: vil_fwd.h:16
std::ostream & operator<<(std::ostream &os, vil_smart_ptr< T > const &r)

Definition at line 42 of file vil_smart_ptr.hxx.

Function Documentation

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  os,
vil_smart_ptr< T > const &  r 
)

Definition at line 32 of file vil_smart_ptr.hxx.