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 9241715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:25:24+00:00 2026-06-18T08:25:24+00:00

Are there boost make_shared_array and make_scope_ptr or only make_shared ?

  • 0

Are there boost make_shared_array and make_scope_ptr or only make_shared?

  • 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-06-18T08:25:25+00:00Added an answer on June 18, 2026 at 8:25 am

    boost::make_scoped_ptr wouldn’t work, since you can’t transfer ownership from a scoped_ptr. At least, not without an explicit call to swap.

    And with Boost 1.53, there’s not much reason to use shared_array, since you can just use shared_ptr with an array type. So just use boost::make_shared.

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

Sidebar

Related Questions

Are there any downsides with using make_shared<T>() instead of using shared_ptr<T>(new T) . Boost
Is there anything in boost libraries like binary? For example I would like to
Is there anything like boost::thread_group in C++11? I'm just trying to port my program
There have been proposals for C++ delegates which have lower overhead than boost::function :
There is a very simple socket server implemented by boost::asio . tcp::acceptor a(io_service, tcp::endpoint(tcp::v4(),
is there a way to generate a boost uuid from a string like 988A00C4-79F3-46f9-98CD-D5AD4AA2A0FE
I found there are also a pthread in Boost library, is it the same
I'm wondering if there's a way in boost::spirit::lex to write a token value back
I was wondering if there was a way to use the boost library in
Is there some magic required to obtain a zlib sync flush when using boost::iostreams::zlib_compressor

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.