|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69402 - sandbox/variadic_templates/libs/composite_storage/sandbox/pack
From: cppljevans_at_[hidden]
Date: 2011-02-28 16:56:22
Author: cppljevans
Date: 2011-02-28 16:56:22 EST (Mon, 28 Feb 2011)
New Revision: 69402
URL: http://svn.boost.org/trac/boost/changeset/69402
Log:
Added predator_prey.cpp target. It's just an
example file; however, it does illustrate
an actual problem posted to comp.lang.c++.
Unfortunately, it's only been successfully
tested using bjam builder and with:
ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20110129/gcc-4.6-20110129.tar.bz2
In constrast, with:
ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.1/gcc-4.5.1.tar.bz2
the following error message is produced:
predator_prey.cpp:227:53: instantiated from here
../../../../boost/composite_storage/pack/multiple_dispatch/reify_apply.hpp:131:41: error: conversion from 'void' to non-scalar type 'boost::composite_storage::pack::multiple_dispatch::ptrs_target0_source<>::type' requested
Curiously, using gmake and the 4.5.1 compiler, the this error does not occur.
Text files modified:
sandbox/variadic_templates/libs/composite_storage/sandbox/pack/Jamfile | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: sandbox/variadic_templates/libs/composite_storage/sandbox/pack/Jamfile
==============================================================================
--- sandbox/variadic_templates/libs/composite_storage/sandbox/pack/Jamfile (original)
+++ sandbox/variadic_templates/libs/composite_storage/sandbox/pack/Jamfile 2011-02-28 16:56:22 EST (Mon, 28 Feb 2011)
@@ -12,3 +12,6 @@
run one_of_multiple_dispatch.test.cpp
;
+run predator_prey.cpp
+ ;
+
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