Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.



// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once

//  auto_link_archive.hpp
//  (c) Copyright Robert Ramey 2004
//  Use, modification, and distribution is subject to the Boost Software
//  License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at

//  See library home page at


// This header implements separate compilation features as described in

//  enable automatic library variant selection  ------------------------------// 

#include <boost/archive/detail/decl.hpp>

#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SERIALIZATION_NO_LIB) \

    // Set the name of our library, this will get undef'ed by auto_link.hpp
    // once it's done with it:
    #define BOOST_LIB_NAME boost_serialization
    // If we're importing code from a dll, then tell auto_link.hpp about it:
    #  define BOOST_DYN_LINK
    // And include the header that does the work:
    #include <boost/config/auto_link.hpp>
#endif  // auto-linking disabled