Sponsored Content
Top Forums Programming Using boost in program created by g++ Post 302749137 by DGPickett on Thursday 27th of December 2012 03:20:04 PM
Old 12-27-2012
Not sure it justifies the overhead of regex, maybe just find and split: Design Topics - 1.52.0 if not strchr() or http://www.cplusplus.com/reference/string/string/at/ !

Compiling and linking are just having the include dirs in -I's, a good dynamic search path or static lib dirs in -L's, libraries -lxxx and source or object files in the right order, and away you go. What happens when you compile?
 

7 More Discussions You Might Find Interesting

1. Linux

How do I boost the Linux performace

Hi All, I installed Linux recently on my PC and finding it difficult to boost its performance. It takes hell lot of time to open Mozilla, text pad , & even the booting process is too slow, many a times I got to manually power off to shutdown the computer. I will be glad if you could help me... (18 Replies)
Discussion started by: jayfriend
18 Replies

2. Solaris

Sun Studio 10 + Boost 1.36

Is it possible to build Boost 1.35 using Sun Studio 10? I can build Boost 1.35 using Sun Studio 11 successful. However, i'm unable to build it using Sun Studio 10 using the exact method. I really apprecaite if any expert can help on this. Thanks, (2 Replies)
Discussion started by: shingpui
2 Replies

3. Solaris

boost thread not accessible to boost::move error

Hi All I am working unders Sun Solaris and I am not "/opt/boost/boost/thread/detail/thread.hpp", line 344: Error: boost::thread::thread(boost::thread&) is not accessible from boost::move(boost::detail::thread_move_t<boost::thread>). Do you know if there are other solutions other than... (2 Replies)
Discussion started by: manustone
2 Replies

4. Programming

Boost C++ ASIO Networking

Hi, Based on the following example in the Boost C++ website: www. boost.org/doc/libs/1_47_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp]doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp I tried to create a similar TCP server that waits to accept a client connection... (0 Replies)
Discussion started by: tanlccc
0 Replies

5. Solaris

how to install boost 1_49_0 in solaris

hi guys, i downloaded boost1_49_0 tar.gz... then unzip and untar... how to install boost 1_49_0 in solaris plz help me (1 Reply)
Discussion started by: coolboys
1 Replies

6. UNIX for Dummies Questions & Answers

How do I declare boost?

Hello all, I am trying to "make" a database system, VDB (Veritas Data Base), and when I run "make" I receive the following error: VDBException.h:19: error: expected `)' before '*' token VDBException.h:20: error: expected `)' before '*' token VDBException.h:43: error: expected `)' before '*'... (4 Replies)
Discussion started by: Tyler_92
4 Replies

7. Programming

Boost.Test and CMake

Hi, I just started using CMake and the Boost Libraries. In this progress I encountered some problems. One of these problems is combining Boost unit tests with cmake. I don't know how to set the whole project up. I tried to set up a simple test project. This contains a main.cpp a comp.cpp and the... (0 Replies)
Discussion started by: ElCoyote
0 Replies
BCP(1)							 Boost C++ Libraries Documentation						    BCP(1)

NAME
bcp - extract subsets of Boost SYNOPSIS
bcp --list [options] module-list bcp [options] module-list output-path bcp --report [options] module-list html-file bcp --help DESCRIPTION
Copies all the files, including dependencies, found in module-list to output-path. output-path must be an existing path. With --list, prints the list of all the files in module-list, including dependencies. With --report, writes the HTML report to html-file. With --help, prints a quick usage reminder. It is useful for Boost authors who want to distribute their library separately from Boost and for Boost users who want to distribute a sub- set of Boost with their application. module-list When the --scan option is not used, a list of Boost files or library names to copy. It can be: - The name of a tool: for example "build" will find "tools/build". - The name of a library: for example "regex". - The title of a header: for example "scoped_ptr" will find "boost/scoped_ptr.hpp". - The name of a header: for example "scoped_ptr.hpp" will find "boost/scoped_ptr.hpp". - The name of a file: for example "boost/regex.hpp". When the --scan option is used, a list of (probably non-boost) files to scan for Boost dependencies, the files in the module list are not therefore copied/listed. File dependencies C++ source files are scanned for #includes, all #includes present in the Boost source tree will then be scanned for their dependencies and so on. C++ source files are associated with the name of a library, if that library has source code (and possibly build data), then include that source in the dependencies. C++ source files are checked for dependencies on Boost.Test (for example to see if they use cpp_main as an entry point). HTML files are scanned for immediate dependencies (images and style sheets, but not links). HTML report contains: - all the licenses in effect, plus the files using each license, and the copyright holders using each license - any files with no recognizable license (please report these to the Boost mailing lists) - any files with no recognizable copyright holders (please report these to the Boost mailing lists) - all the copyright holders and the files on which they hold copyright - file dependency information - indicates the reason for the inclusion of any particular file in the dependencies found OPTIONS
--boost=path sets the location of the Boost tree to path --scan treat the module list as a list of (possibly non-boost) files to scan for Boost dependencies --cvs only copy files under CVS version control --unix-lines make sure that all copied files use Unix style line endings EXAMPLES
bcp scoped_ptr /foo Copies boost/scoped_ptr.hpp and dependencies to /foo. bcp boost/regex.hpp /foo Copies boost/regex.hpp and all dependencies including the regex source code (in libs/regex/src) and build files (in libs/regex/build) to /foo. Does not copy the regex documentation, test or example code. bcp regex /foo Copies the full regex lib (in libs/regex) including dependencies (such as the Boost.Test source required by the regex test programs) to /foo. bcp regex config build /foo Copies the full regex lib (in libs/regex) plus the config lib (libs/config) and the build system (tools/build) to /foo including all the dependencies. bcp --scan --boost=/boost foo.cpp bar.cpp boost Scans the [non-boost] files foo.cpp and bar.cpp for Boost dependencies and copies those dependencies to the sub-directory boost. bcp --report regex.hpp boost-regex-report.html Creates a HTML report called boost-regex-report.html for the Boost module regex.hpp. AUTHORS
Author of bcp is John Maddock. Author of this manpage is Domenico Andreoli, who copied stuff from bcp --help and the HTML documentation. Boost C++ Libraries March 2006 BCP(1)
All times are GMT -4. The time now is 08:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy