> myMap.insert( std::pair<Tuple, Tuple>( boost::make_tuple(x, y, z),
> boost::make_tuple(A, B, C) ) );
> [...]
> The error I get is:
> main.cc(776): error: argument list for class template "std::pair" is
> missing myMap.insert( std::pair( boost::make_tuple(x, y, z),
> boost::make_tuple(A, B, C) ) );

There is a mismatch here: the code you cite specifies the template arguments 
for std::pair, but the error message doesn't. Which is correct? Since 
std::pair is a template class, you need to specify the types. You could 
alternatively replace the call to std::pair<...,...>(...,...) by a call to 
std::make_pair.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to