output version string

This commit is contained in:
Joachim Reichel 2007-03-20 19:14:02 +00:00
parent f038ffdd56
commit ed08a8cfb1
2 changed files with 9 additions and 1 deletions

View File

@ -28,6 +28,10 @@ using boost::bimap::set_of;
int main()
{
std::cout << "version=" << BOOST_VERSION/100000 << "."
<< ((BOOST_VERSION / 100) % 100) << "."
<< BOOST_VERSION % 100 << std::endl;
bimap<set_of<int, std::less<int> >,
set_of<double, std::less<double> >
> function;

View File

@ -1,4 +1,4 @@
// Copyright (c) 2006 Utrecht University (The Netherlands),
// Copyright (c) 2006, 2007 Utrecht University (The Netherlands),
// ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
// INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
// (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
@ -28,6 +28,10 @@
int main(int ac, char *av[])
{
std::cout << "version=" << BOOST_VERSION/100000 << "."
<< ((BOOST_VERSION / 100) % 100) << "."
<< BOOST_VERSION % 100 << std::endl;
boost::program_options::options_description desc("Allowed options");
desc.add_options()
("help", "produce help message")