Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

libs/flyweight/test/test_intermod_holder.cpp

Boost , ,

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

libs/flyweight/test/test_intermod_holder.cpp

/* Boost.Flyweight test of intermodule_holder.
 *
 * Copyright 2006-2008 Joaquin M Lopez Munoz.
 * Distributed under the Boost Software License, Version 1.0.
 * (See accompanying file LICENSE_1_0.txt or copy at
 * http://www.boost.org/LICENSE_1_0.txt)
 *
 * See http://www.boost.org/libs/flyweight for library home page.
 */
#include "test_intermod_holder.hpp"
#include "intermod_holder_dll.hpp"
#include "test_basic_template.hpp"
using namespace boost::flyweights;
struct intermodule_holder_flyweight_specifier1
{
  template<typename T>
  struct apply
  {
    typedef flyweight<T,intermodule_holder> type;
  };
};
void test_intermodule_holder()
{
  test_basic_template<intermodule_holder_flyweight_specifier1>();
  intermodule_flyweight_string str=
    create_intermodule_flyweight_string("boost");
  BOOST_TEST(str==intermodule_flyweight_string("boost"));
}

Статья libs/flyweight/test/test_intermod_holder.cpp раздела может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-07-05 03:52:25/0.0077250003814697/0