Browse files

clarified Boost use

  • Loading branch information...
ferruccio committed Jan 4, 2012
1 parent 7ba7d73 commit ca86253770bf8788298511ba4f19b2cd81b88f89
Showing with 6 additions and 2 deletions.
  1. +6 −2 README
@@ -79,6 +79,8 @@ How do I use it?
Drop stref.h into your project and #include it. There are no other dependencies.
+The only member functions which can throw an exception (bad_stref_op) are at(index), front() and back().
Which compilers are supported?
I have tested this with:
@@ -87,9 +89,11 @@ I have tested this with:
- g++ 4.7
- clang++ 3.0
-Boost.Test is necessary to build the unit tests.
The only C++11 feature necessary is std::function (#include <functional>).
If you don't have a compiler which supports it, you can easily modify it to use Boost.Functional instead. Use boost::function instead of std::function and #include "boost/functional.hpp".
+Boost.Test is necessary to build the unit tests (stref.cpp).
+The unit tests (stref.cpp) and sample code (sample.cpp) also make use of lambda functions.
License: MIT License

0 comments on commit ca86253

Please sign in to comment.