Which Boost libraries are header-only?

后端 未结 3 1232
时光取名叫无心
时光取名叫无心 2020-11-28 05:17

Which Boost libraries are header-only? And which require building libraries?

Does such a list exist?

3条回答
  •  自闭症患者
    2020-11-28 05:30

    Actually, even ./bootstrap.sh --show-libraries is somewhat incorrect too, because some libraries depend on that listed libraries.

    It is possible to get list of header-only libraries with the Boost BCP tool, launching the tool on every library and removing those linking any binaries. That is what was done in How To Build Header Only Boost.

    For Boost 1.67.0 the resulting list was:

    accumulators
    align
    any
    array
    assert
    assign
    bind
    callable_traits
    circular_buffer
    compatibility
    concept_check
    config
    container_hash
    conversion
    convert
    core
    crc
    detail
    disjoint_sets
    dynamic_bitset
    endian
    foreach
    format
    function
    functional
    function_types
    fusion
    geometry
    gil
    hana
    heap
    hof
    icl
    integer
    interprocess
    intrusive
    io
    iterator
    lambda
    lexical_cast
    locale
    local_function
    logic
    metaparse
    move
    mp11
    mpl
    msm
    multi_array
    multi_index
    optional
    phoenix
    poly_collection
    polygon
    predef
    preprocessor
    property_tree
    proto
    ptr_container
    qvm
    ratio
    rational
    scope_exit
    signals2
    smart_ptr
    sort
    static_assert
    throw_exception
    tokenizer
    tti
    tuple
    type_index
    typeof
    type_traits
    units
    unordered
    utility
    uuid
    variant
    vmd
    winapi
    xpressive
    

提交回复
热议问题