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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T07:46:31+00:00 2026-05-21T07:46:31+00:00

Can anyone explain this statement from ISO N3242 §3.2, 2nd point A non-placement allocation

  • 0

Can anyone explain this statement from ISO N3242 §3.2, 2nd point

A non-placement allocation or
deallocation function for a class is
odr-used by the definition of a
constructor of that class. A
non-placement deallocation function
for a class is odr-usedby the
definition of the destructor of that
class, or by being selected by the
lookup at the point of definitionof a
virtual destructor (12.4).26 A
copy-assignment function for a class
is odr-used by an implicitly-defined
copy-assignment function for another
class as specified in 12.8. A
move-assignment function for a class
is odr-used by an implicitly-defined
move-assignment function for another
class as specified in 12.8.

ISO Standard 2003 says:

A copy-assignment function for a class
is used by an implicitly-defined
copy-assignment function for another
class as specified in 12.8.

What is the actual difference in these statements?

Any one explain the above added point in terms of example/program…?

I know move constructor / move assigment function –>new feature added .

Can any one explain this with the help of an example/program?

please………….

please………. answer

  • 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-21T07:46:32+00:00Added an answer on May 21, 2026 at 7:46 am

    The rationale for this addition, with examples can be found here. In short, it is a clarification of exactly when an allocation/deallocation function for a class needs to be defined.

    The (C++03) One Definition Rule requires that every variable or function that is used in the program, for a very specific definition of “use”, must have exactly one definition.
    Therefore, a description of when a (de)allocation function is considered “used”, also mandates when a definition is required.

    To avoid confusion between the general meaning of the word “use”, and the meaning of “use” as defined in ODR, the word “use” has been replaced with “odr-use” whenever the second meaning is intended.

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

Sidebar

Related Questions

Can anyone explain this statement from ISO N3242 §3.2, 2nd point An expression is
Can anyone explain this statement from ISO N3242 §3.2, 2nd point A member of
Can anyone explain why this query returns an empty result. SELECT * FROM (`bookmarks`)
Can anyone explain what the jquery documentation is exactly referring to with this statement:
Can anyone explain this to me. I'm trying to inject a CSS file onto
Can anyone explain what this mod_rewrite rule is doing? I'm trying to comment the
Can anyone explain why this code with the given routes returns the first route?
Can anyone explain me why this throws a findbug warning: if (m != null
Can anyone explain to me what this means? Run-Time Check Failure #0 - The
Can anyone explain why using comments like this in css cause really weird effects

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.