boost::accumulators and boost 1.35

Hi all, I m trying to compile a small piece of code using boost::accumulators. I have compile problems : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/fusion/sequence/adapted/mpl.hpp' : No such file or directory This file does not exist in the boost svn trunk. I downloaded the accumulators lib from boost vault. So, is boost::accumulators still compliant with boost 1.35 ? Another question : as this library has been accepted, could you tell me why it is not in the last boost release ? Best regards, Olivier

Olivier Tournaire wrote:
I m trying to compile a small piece of code using boost::accumulators. I have compile problems :
fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/fusion/sequence/adapted/mpl.hpp' : No such file or directory
Looks like that file got moved. That #include should now be
This file does not exist in the boost svn trunk. I downloaded the accumulators lib from boost vault. So, is boost::accumulators still compliant with boost 1.35 ?
Another question : as this library has been accepted, could you tell me why it is not in the last boost release ?
It didn't make the cut for 1.35, but it's in svn trunk and should be part of 1.36. -- Eric Niebler Boost Consulting www.boost-consulting.com

Eric Niebler wrote:
Olivier Tournaire wrote:
I m trying to compile a small piece of code using boost::accumulators. I have compile problems :
fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/fusion/sequence/adapted/mpl.hpp' : No such file or directory
Looks like that file got moved. That #include should now be
. It's already fixed in svn trunk. I'll try to package a new download for the file vault.
I've updated accumulators.zip in the file vault. Let me know if you notice any other problems. Thanks, -- Eric Niebler Boost Consulting www.boost-consulting.com

Hi, I'm learning about multi_arrays and have not been able to find much info about different ways of initializing them. In particular I'm interested in initializing a multi_array in the same way I can init a basic C/C++ array: int array_2d[3][3] = { {1,2,3}, {2,3,4}, {3,4,5} }; When I declare an analogous multi_array, the compiler (VC++ 8.0) complains about the third line: typedef boost::multi_array< int, 2 > int_2d_array_t; boost::array< int_2d_array_t::index, 2 > shape = {{ 3, 3 }}; int_2d_array_t A(shape) = { {1,2,3}, {2,3,4}, {3,4,5} }; // error C2143: syntax error : missing ';' before '=' The online documentation only mentions initialization of individual elements (A[0][0][0] = 4;), but in doing it that way would be very tedious. What alternatives are there? Thanks. Regards, Vladan

AMDG Vladan Vidakovic wrote:
Hi, I'm learning about multi_arrays and have not been able to find much info about different ways of initializing them. In particular I'm interested in initializing a multi_array in the same way I can init a basic C/C++ array:
int array_2d[3][3] = { {1,2,3}, {2,3,4}, {3,4,5} };
That is impossible because multi_array is not an aggregate.
When I declare an analogous multi_array, the compiler (VC++ 8.0) complains about the third line:
typedef boost::multi_array< int, 2 > int_2d_array_t; boost::array< int_2d_array_t::index, 2 > shape = {{ 3, 3 }};
int_2d_array_t A(shape) = { {1,2,3}, {2,3,4}, {3,4,5} }; // error C2143: syntax error : missing ';' before '='
The online documentation only mentions initialization of individual elements (A[0][0][0] = 4;), but in doing it that way would be very tedious.
What alternatives are there?
Nothing really wonderful, I hate to say. I wish that Boost.Assign worked.
The best I can come up with is:
#include

Thank you Eric,
I know there are 2 other headers causing problem. However, instead of
"hacking" the files from the vault, I choose, to checkout from the SVN
repository, so I cannot remember the includes causing problems.
Regards,
Olivier
2008/4/3, Eric Niebler
Eric Niebler wrote:
Olivier Tournaire wrote:
I m trying to compile a small piece of code using boost::accumulators. I have compile problems :
fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/fusion/sequence/adapted/mpl.hpp' : No such file or directory
Looks like that file got moved. That #include should now be
. It's already fixed in svn trunk. I'll try to package a new download for the file vault. I've updated accumulators.zip in the file vault. Let me know if you notice any other problems.
Thanks,
-- Eric Niebler Boost Consulting www.boost-consulting.com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Olivier Tournaire wrote:
Thank you Eric,
I know there are 2 other headers causing problem.
With the current .zip in the vault? Or the older one?
However, instead of "hacking" the files from the vault, I choose, to checkout from the SVN repository, so I cannot remember the includes causing problems.
What's in the .zip now is a copy of what's in SVN. -- Eric Niebler Boost Consulting www.boost-consulting.com

2008/4/5, Eric Niebler
Olivier Tournaire wrote:
Thank you Eric,
I know there are 2 other headers causing problem.
With the current .zip in the vault? Or the older one?
The older one.
However, instead of
"hacking" the files from the vault, I choose, to checkout from the SVN repository, so I cannot remember the includes causing problems.
What's in the .zip now is a copy of what's in SVN.
--
Eric Niebler Boost Consulting www.boost-consulting.com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (4)
-
Eric Niebler
-
Olivier Tournaire
-
Steven Watanabe
-
Vladan Vidakovic