asio C++ library Home | Download | Documentation | Source | Mailing List | Blog

Standalone Asio

When using a C++11 (or later) compiler, most of Asio may now be used without a dependency on Boost header files or libraries. To use Asio in this way, define ASIO_STANDALONE on your compiler command line or as part of the project options. On recent compilers, this will be defined automatically if C++11 (or later) is detected.

This standalone configuration has been tested for the following platforms and compilers as a minimum configuration:

  • Microsoft Visual Studio 2012

  • Linux with g 4.7 or 4.8 (requires `-std=c11`)

  • Mac OS X with clang / Xcode 4.6 (requires `-std=c11 -stdlib=libc++`)

Home | Download | Documentation | Source | Mailing List | Blog