Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 121951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:03:06+00:00 2026-05-11T04:03:06+00:00

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

  • 0

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 name.

Is this convention common outside of Boost?

What is the justification for having a special file type?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T04:03:07+00:00Added an answer on May 11, 2026 at 4:03 am

    Explanation from one of the template gurus:

    If you want to split up your template sources into interface and implementation (there are lots of good reasons to do that, including controlling instantiation), you can’t very well use the same name (foo.hpp) twice, and foo.cpp wouldn’t be appropriate for either one. foo.ipp clearly delineates the file as an implementation file intended to be #included in foo.hpp.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there anything in boost libraries like binary? For example I would like to
Is there some equivalent class for C++1x's std::unique_ptr in the boost libraries? The behavior
I am programming with normal pointers, but I have heard about libraries like Boost
There are a lot of impressive Boost libraries such as Boost.Lambda or Boost.Phoenix which
I'm having a look at the Boost libraries that were included in C++'s Technical
Is there a quick way to determine the version of the Boost C++ libraries
I am developing unit test cases for an application using Boost.test libraries. There are
I'm wondering if there is a library like Boost Format, but which supports named
I have just started using Boost 1.36. These libraries would be very useful in
I've built the x86 Boost libraries many times, but I can't seem to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.