philsquared/Catch — pull request #136 by wichert (2012-11-16 09:48:12+00:00)
Title: integration branch does not compile

I wanted to try your fix for #5, but the current single include from the integration branch does not compile for me:

```
../../include/catch/catch.hpp: In instantiation of ‘Catch::ExpressionLhs’:
../../src/tests/article.cc:15: instantiated from here
../../include/catch/catch.hpp:942: error: forming reference to reference type ‘const unsigned int&’
../../include/catch/catch.hpp: In member function ‘Catch::ExpressionLhs Catch::ExpressionDecomposer::operator->*(const T&) [with T = unsigned int]’:
../../src/tests/article.cc:15: instantiated from here
../../include/catch/catch.hpp:1022: error: no matching function for call to ‘Catch::ExpressionLhs::ExpressionLhs(const unsigned int&)’
../../include/catch/catch.hpp:938: note: candidates are: Catch::ExpressionLhs::ExpressionLhs(const Catch::ExpressionLhs&)
../../include/catch/catch.hpp: In member function ‘Catch::ExpressionLhs Catch::ExpressionDecomposer::operator->*(const T&) [with T = stylist::Article::article_type]’:
../../src/tests/article.cc:16: instantiated from here
../../include/catch/catch.hpp:1022: error: no matching function for call to ‘Catch::ExpressionLhs::ExpressionLhs(const stylist::Article::article_type&)’
../../include/catch/catch.hpp:938: note: candidates are: Catch::ExpressionLhs::ExpressionLhs(const Catch::ExpressionLhs&)
../../include/catch/catch.hpp: In member function ‘Catch::ExpressionLhs Catch::ExpressionDecomposer::operator->*(const T&) [with T = int]’:
../../src/tests/article.cc:17: instantiated from here
../../include/catch/catch.hpp:1022: error: no matching function for call to ‘Catch::ExpressionLhs::ExpressionLhs(const int&)’
../../include/catch/catch.hpp:938: note: candidates are: Catch::ExpressionLhs::ExpressionLhs(const Catch::ExpressionLhs&)
../../include/catch/catch.hpp: In member function ‘Catch::ExpressionLhs Catch::ExpressionDecomposer::operator->*(const T&) [with T = float]’:
../../src/tests/article.cc:20: instantiated from here
../../include/catch/catch.hpp:1022: error: no matching function for call to ‘Catch::ExpressionLhs::ExpressionLhs(const float&)’
../../include/catch/catch.hpp:938: note: candidates are: Catch::ExpressionLhs::ExpressionLhs(const Catch::ExpressionLhs&)
../../include/catch/catch.hpp: In member function ‘Catch::ExpressionLhs Catch::ExpressionDecomposer::operator->*(const T&) [with T = time_t]’:
../../src/tests/article.cc:24: instantiated from here
../../include/catch/catch.hpp:1022: error: no matching function for call to ‘Catch::ExpressionLhs::ExpressionLhs(const long int&)’
../../include/catch/catch.hpp:938: note: candidates are: Catch::ExpressionLhs::ExpressionLhs(const Catch::ExpressionLhs&)
../../include/catch/catch.hpp: In member function ‘Catch::ExpressionLhs Catch::ExpressionDecomposer::operator->*(const T&) [with T = size_t]’:
../../src/tests/article.cc:249: instantiated from here
../../include/catch/catch.hpp:1022: error: no matching function for call to ‘Catch::ExpressionLhs::ExpressionLhs(const long unsigned int&)’
../../include/catch/catch.hpp:938: note: candidates are: Catch::ExpressionLhs::ExpressionLhs(const Catch::ExpressionLhs&)
...
```