> I tried your suggestion with std::make_pair and I still get:
OK, so you got through the first error. Now you're stuck at the second one:
> /usr/include/c++/4.4.3/bits/stl_function.h(230): error: no operator "<"
> matches these operands
> operand types are: const Tuple < const Tuple
> { return __x < __y; }
> ^
But that actually makes sense: if you want to use a
std::map<A,B>
then objects of type A must have an operator< so that they can be ordered.
That's one of the requirements of std::map. The std::tuple data type doesn't
have such an operator, however.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii