clean-up some additional mentions of boost::ref
This commit is contained in:
parent
4f1d7e1d3f
commit
b39edad306
3 changed files with 4 additions and 5 deletions
|
|
@ -64,7 +64,7 @@ namespace wrapper {
|
|||
|
||||
|
||||
/**
|
||||
* Extension to boost::reference_wrapper:
|
||||
* Extension to std::reference_wrapper:
|
||||
* Allows additionally to re-bind to another reference,
|
||||
* almost like a pointer. Helpful for building templates.
|
||||
* @warning potentially dangerous
|
||||
|
|
@ -128,7 +128,7 @@ namespace wrapper {
|
|||
* A copyable, assignable value object, not managing ownership.
|
||||
* It can be default constructed and \c bool evaluated to detect
|
||||
* an empty holder. The value is retrieved pointer-like, by
|
||||
* explicit dereferentiation. (Contrast this to boost::ref,
|
||||
* explicit dereferentiation. (Contrast this to std::ref,
|
||||
* where the original reference is retrieved by conversion)
|
||||
*
|
||||
* The purpose of this template is to be able to remember
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace test {
|
|||
using boost::str;
|
||||
using std::tr1::function;
|
||||
using std::tr1::bind;
|
||||
using boost::ref;
|
||||
using std::tr1::ref;
|
||||
using boost::lexical_cast;
|
||||
using util::contains;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,11 +34,10 @@
|
|||
#include "lib/query.hpp"
|
||||
|
||||
#include <tr1/functional>
|
||||
#include <boost/ref.hpp>
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
|
||||
using boost::ref;
|
||||
using std::tr1::ref;
|
||||
using std::tr1::placeholders::_1;
|
||||
using util::isSameObject;
|
||||
using util::and_all;
|
||||
|
|
|
|||
Loading…
Reference in a new issue