Use beast for bind, placeholders, and function

This commit is contained in:
Vinnie Falco
2013-06-27 17:17:10 -07:00
parent a21bb13915
commit 903cc001dd
7 changed files with 30 additions and 20 deletions

View File

@@ -22,9 +22,15 @@
// beast_basics flags
#ifndef BEAST_USE_BOOST
#define BEAST_USE_BOOST 0
#endif
#define BEAST_USE_BOOST 1
// We bind functions that take references, which is
// unsupported on some platforms
//
// VFALCO TODO Rewrite functions to use pointers instead
// of references so we can get off boost::bind
//
//#define BEAST_BIND_USES_BOOST 1
#ifndef BEAST_USE_LEAKCHECKED
#define BEAST_USE_LEAKCHECKED BEAST_CHECK_MEMORY_LEAKS