Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73186 - sandbox/SOC/2011/checks/libs/checks/example
From: pierre.talbot.6114_at_[hidden]
Date: 2011-07-17 10:56:34


Author: trademark
Date: 2011-07-17 10:56:33 EDT (Sun, 17 Jul 2011)
New Revision: 73186
URL: http://svn.boost.org/trac/boost/changeset/73186

Log:
Delete trivial and example files;
Removed:
   sandbox/SOC/2011/checks/libs/checks/example/Checks_examples14-Jun-2011_1200.log
   sandbox/SOC/2011/checks/libs/checks/example/isbn_example.cpp

Deleted: sandbox/SOC/2011/checks/libs/checks/example/Checks_examples14-Jun-2011_1200.log
==============================================================================
--- sandbox/SOC/2011/checks/libs/checks/example/Checks_examples14-Jun-2011_1200.log 2011-07-17 10:56:33 EDT (Sun, 17 Jul 2011)
+++ (empty file)
@@ -1,17 +0,0 @@
-
-...found 28 targets...
-...updating 11 targets...
-common.mkdir ..\..\..\bin.v2\libs\checks\example
-common.mkdir ..\..\..\bin.v2\libs\checks\example\isbn_example.test
-common.mkdir ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0
-common.mkdir ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0\debug
-common.mkdir ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0\debug\asynch-exceptions-on
-common.mkdir ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0\debug\asynch-exceptions-on\threading-multi
-compile-c-c++ ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0\debug\asynch-exceptions-on\threading-multi\isbn_example.obj
-isbn_example.cpp
-msvc.link ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0\debug\asynch-exceptions-on\threading-multi\isbn_example.exe
-msvc.manifest ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0\debug\asynch-exceptions-on\threading-multi\isbn_example.exe
-testing.capture-output ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0\debug\asynch-exceptions-on\threading-multi\isbn_example.run
- 1 file(s) copied.
-**passed** ..\..\..\bin.v2\libs\checks\example\isbn_example.test\msvc-10.0\debug\asynch-exceptions-on\threading-multi\isbn_example.test
-...updated 11 targets...

Deleted: sandbox/SOC/2011/checks/libs/checks/example/isbn_example.cpp
==============================================================================
--- sandbox/SOC/2011/checks/libs/checks/example/isbn_example.cpp 2011-07-17 10:56:33 EDT (Sun, 17 Jul 2011)
+++ (empty file)
@@ -1,59 +0,0 @@
-//! \file
-//! \warning This example is entirely contrived to show how to embed into Quickbook.
-//! \brief A very simple example of checking an ISBN that is provided as a std::string.
-
-// Copyright Paul A. Bristow 2011.
-
-// 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)
-
-// This file is written to be included from a Quickbook .qbk document.
-// It can be compiled by the C++ compiler, and run. Any output can
-// also be added here as comment or included or pasted in elsewhere.
-// Caution: this file contains Quickbook markup as well as code
-// and comments: don't change any of the special comment markups!
-
-#include <Windows.h>
-#include <iostream>
-using std::cout;
-using std::cin;
-using std::endl;
-using std::dec;
-using std::hex;
-using std::boolalpha;
-
-#include <iomanip>
-using std::setprecision;
-using std::setw;
-#include <string>
-using std::string;
-#include <cassert>
-#include <boost/checks/checks_fwd.hpp> // Forward declarations.
-
-//[checks_isbn_example_1
-#include <boost/checks/ISBN_PAB.hpp> // ISBN for books (Old PAB version using just string parameter).
-//] [/checks_isbn_example_1]
-// This is a really, really trivial example, but shows how to imbed into Quickbook tutorial section.
-
-// You need to [import isbn_example.cpp]
-// [include checks_isbn_example_1] where you want the include info - probably wrong now!
-// and then [include checks_isbn_example_2] where you want the program line
-// and then [include checks_isbn_output_1] when you want the output
-
-int main()
-{
-//[checks_isbn_example_2
- string s1 = "1232563456465";
-
- //cout << "ISBN " << s1 << (ISBNcheck(s1) ? " is OK" : " is Wrong!") << endl;
-
- string s2 = "020170073";
-
- cout << "Check digit of " << s2 << " is " << ISBNcompute("020170073") << endl;
-
- Sleep(5000);
-//] [/checks_isbn_example_2]
-
-} // int main()


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