|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66831 - sandbox/statistics/support/libs/assign/v2/example
From: erwann.rogard_at_[hidden]
Date: 2010-11-28 18:23:24
Author: e_r
Date: 2010-11-28 18:23:22 EST (Sun, 28 Nov 2010)
New Revision: 66831
URL: http://svn.boost.org/trac/boost/changeset/66831
Log:
part of minor re-organization of libs/assign/v2/
Added:
sandbox/statistics/support/libs/assign/v2/example/constants.h (contents, props changed)
Added: sandbox/statistics/support/libs/assign/v2/example/constants.h
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/constants.h 2010-11-28 18:23:22 EST (Sun, 28 Nov 2010)
@@ -0,0 +1,35 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to 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) //
+//////////////////////////////////////////////////////////////////////////////
+#ifndef BOOST_ASSIGN_V2_EXAMPLE_CONSTANTS_ER_2010_H
+#define BOOST_ASSIGN_V2_EXAMPLE_CONSTANTS_ER_2010_H
+#include <libs/assign/v2/example/foo.h>
+
+namespace example_assign_v2{
+
+//[foo_constants
+namespace{
+
+int a = 1, b = 5;
+
+S const key_x = "x" ;
+S const key_y = "y" ;
+S const key_z = "z" ;
+
+const T x( a ); // (1, 0)
+const T y; // (NULL, 0)
+const T z( a, b ); //(1, 5)
+
+}
+//]
+
+
+}// example_assign_v2
+
+#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk