Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [VC++10] Could someone please see if this compiles?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-28 18:35:29


AMDG

Jeremiah Willcock wrote:
> Sorry I keep asking for these, but I don't have VC++ 10 and would like
> a small example to report as a bug. I guess I trimmed too far in the
> last one -- what about this?

It fails.

1>------ Build started: Project: scratch, Configuration: Debug Win32 ------
1> scratch.cpp
1>c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(40): error C2752:
'property_map<Graph,Property>' : more than one partial specialization
matches the template argument list
1> with
1> [
1>
Graph=compressed_sparse_row_graph<directedS,vertex_prop,int,int,distributedS,int>,
1> Property=float vertex_prop::*
1> ]
1> c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(27): could be
'property_map<compressed_sparse_row_graph<directedS,VertexProperty,EdgeProperty,GraphProperty,distributedS,InEdgeIndex>,TBundle::*
>'
1> c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(5): or
'property_map<Graph,TBundle::* >'
1>c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(40): error C2039: 'type' : is
not a member of 'property_map<Graph,Property>'
1> with
1> [
1>
Graph=compressed_sparse_row_graph<directedS,vertex_prop,int,int,distributedS,int>,
1> Property=float vertex_prop::*
1> ]
1>c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(40): error C2065: 'type' :
undeclared identifier
1>c:\documents and settings\steven\my documents\visual studio
2010\projects\scratch\scratch\scratch.cpp(40): error C2065: 'x' :
undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

In Christ,
Steven Watanabe


Boost-testing list run by mbergal at meta-comm.com