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

  • SEARCH
  • Home
  • 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 7602887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:31:34+00:00 2026-05-30T23:31:34+00:00

I need to embed Boost headers in my project. According to this question ,

  • 0

I need to embed Boost headers in my project.

According to this question, the recommendation would be to include using double-quote (#include "boost/filesystem.hpp") so that it doesn’t use the system version of Boost if installed.

What is the behavior, according to the C++ standard and popular implementations, when these local headers include other headers with angle brackets (which appears to be the code style in Boost headers)?

  • 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. Editorial Team
    Editorial Team
    2026-05-30T23:31:36+00:00Added an answer on May 30, 2026 at 11:31 pm

    Most of the ‘popular’ implementations I’ve seen would include headers in quotes relative to the path of the source file being compiled with angle brackets searched relative to designated search paths for includes. As mentioned in that thread, the actual distinction between how compilers search for headers included in quotes as opposed to brackets is purely implementation-defined.

    I wouldn’t attempt to use quotes for a library like boost in hopes of avoiding conflicts with another installed version for the specific reason you pointed out. It includes its relative headers typically with angle brackets so your attempt to avoid using the wrong version of boost if two are installed is not something that would likely be solved by including a boost header in quotes just on your end.

    Instead, you should probably look at the priority of include paths you specify to the compiler.

    Edit: you should also look into the priority of your lib paths as well for static linking (thanks to James Kanze for the suggestion).

    What is the behavior, according the the C++ standard and to popular
    implementations, when these local headers include other headers with
    angle brackets (which appears to be the code style in Boost headers)?

    Typically the exact same behavior you’d expect if you included the headers yourself in angle brackets.

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

Sidebar

Related Questions

I need to embed the fonts that I'm using in my TeX document in
I'm using Webkit-sharp to embed Webkit into an application and I need to hook
I am working on a project where I need to embed a web server
I have a website using asp.net mvc in which I need to embed a
I have a c++ server side project that I need to embed some sort
In my project, I need to embed audio (ex: mp3, etc) into a web
I'm using Boost to embed Python in my application. For example, I want to
I have an XML generated at runtime. I need to embed this XML content
We would need to embed mathematical formulas through AsciiMathML into Google Sites pages (internal
Summary I have a need to embed an executable in my software. This executable

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.