Files
core/ASCOfficeOdfFile/include/cpdoccore/CPOptional.h

19 lines
293 B
C++

#pragma once
#include <boost/optional.hpp>
namespace cpdoccore {
/// âíåøíåå îáúÿâëåíèå äëÿ Optional, èñïîëüçóåì boost::optional
template <class T>
struct optional
{
typedef T Base;
typedef ::boost::optional<T> Type;
};
#define _CP_OPT(T) optional< T >::Type
}