⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compound.tpp

📁 ACE自适配通信环境(ADAPTIVE Communication Environment)是可以自由使用、开放源码的面向对象(OO)框架(Framework)
💻 TPP
字号:
// file      : Utility/ExH/Compound.tpp// author    : Boris Kolpackov <boris@kolpackov.net>// copyright : Copyright (c) 2002-2003 Boris Kolpackov// license   : http://kolpackov.net/license.html#include "Utility/ExH/Converter.hpp"namespace Utility{  namespace ExH  {    // c-tor's & d-tor    template <typename Type, typename Base>    Compound<Type, Base>::    Compound () throw ()    {    }    template <typename Type, typename Base>    Compound<Type, Base>::    Compound (char const* description) throw ()    {      Base::init (description);    }    template <typename Type, typename Base>    Compound<Type, Base>::    Compound (std::string const& description) throw ()    {      try      {        Base::init (description.c_str ());      }      catch (...)      {      }    }    template <typename Type, typename Base>    template <typename T>    Compound<Type, Base>::    Compound (T const& description) throw ()    {      Base::init (converter<T> (description).c_str ());    }    template <typename Type, typename Base>    Compound<Type, Base>::    Compound (Compound const& src) throw ()    {      Base::init (src.what ());    }    template <typename Type, typename Base>    Compound<Type, Base>::    ~Compound () throw ()    {    }    // operator=    template <typename Type, typename Base>    Compound<Type, Base>& Compound<Type, Base>::    operator= (Compound const& src) throw ()    {      Base::init (src.what ());      return *this;    }  }}//Compound.tpp,v 1.1 2005/05/24 04:33:12 turkaye Exp

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -