C++ header-only template library

后端 未结 9 2116
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-09 20:21

Looking at this project (http://www.savarese.com/software/libssrckdtree/) I found the definition \"C++ header-only template library\". At the moment I have basic C++ knowled

9条回答
  •  心在旅途
    2020-12-09 21:11

    It's "header only" because it contains no separate .cpp files, only .h files and so you can just #include all the library code into your code.

    This can be advantageous since you don't have to link against a static library which can be very painful.

提交回复
热议问题