In the C++ Boost libraries, why is there a “.ipp” extension on some header files

前端 未结 2 811
别那么骄傲
别那么骄傲 2020-12-13 13:12

In the C++ Boost libraries, why is there a \".ipp\" extension on some header files?

It seems like they are header files included by the \".hpp\" file of the same n

2条回答
  •  一整个雨季
    2020-12-13 14:09

    I believe "ipp" stands from "implementation" file. i.e, they hold actually code (for inline functions & templates) rather than just declaration (which are in the header --.H or .HPP -- files)

提交回复
热议问题