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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:12:41+00:00 2026-06-13T03:12:41+00:00

I think it is because of the code I wrote below. But I couldn’t

  • 0

I think it is because of the code I wrote below. But I couldn’t solve it.

classname::smt() {;}

classname::smt1(int x, double y, string name)
{
    x = xprivate;
    y = yprivate;
    name = nameprivate;
}
  • 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-13T03:12:43+00:00Added an answer on June 13, 2026 at 3:12 am

    It means you can’t have code that does this:

    class classname
    {
        classname() const
        classname() volatile
        classname() const volatile
    };
    

    cv-qualifers apply to storage and to methods, not to constructors or destructors (because you still have to initialize cv-qualified storage).

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

Sidebar

Related Questions

I think I might be causing a bug in my code because I'm unclear
I think allowing recursion can be very handy sometimes, not because I can code
I don't think my code's the problem because it's working on my local server
This is driving me nuts. I think it is because of some connection string
I'm newbie in PHP. I wrote the below-given code to create the array data.
I wrote some C program like below. #include <stdio.h> #include <string.h> main() { char
Below is my code: It runs well but how can make it average all
I have to ask this question because I'm stuck, and I think its because
I'm learning Python because I think is an awesome and powerful language like C++,
I'll re-explain my situation because i think my initial story wasn't clear enough. Im

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.