[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Question for Axter   (about basic_ios)

Posted on 2002-06-06
5
Medium Priority
?
302 Views
Last Modified: 2010-04-02
Axter,

Thank you for your explanation for my last question
http://www.experts-exchange.com/jsp/qManageQuestion.jsp?qid=20308360

I want to know a little more:)

>According to the C++ standard, you're not allow to pass by value.

What is a C++ standard? Do I have that :-)

>private:
>basic_ios(const basic_ios& ); // not defined
>basic_ios& operator=(const basic_ios&); // not defined
>istream and istringstream both derive from basic_ios.  
>The standard defines basic_ios copy constructor
>and assignment operator as both private and not defined.

You mean 'private' shoul avoid basic_ios to be copied by me in compiling time?

And how do I know what belong to basic_ios ?
0
Comment
Question by:learn
  • 2
  • 2
5 Comments
 
LVL 30

Accepted Solution

by:
Axter earned 240 total points
ID: 7060449
>>What is a C++ standard? Do I have that :-)
More then likely not.  It's not free, and it doesn't come with any of the major compilers.

You can get a draft copy free from the following link:
http://cs.calvin.edu/c++/C++Standard-Nov97/

You can purchase the C++ standard via the following link:
http://webstore.ansi.org/ansidocstore/product.asp?sku=ISO%2FIEC+14882%2D1998
0
 
LVL 30

Expert Comment

by:Axter
ID: 7060451
>>You mean 'private' shoul avoid basic_ios to be copied by
>>me in compiling time?

Yes.


>>And how do I know what belong to basic_ios ?
The C++ standard states that it's a decendent of basic_ios.
0
 
LVL 22

Expert Comment

by:nietod
ID: 7060453
>> What is a C++ standard? Do I have that :-)
The C++ standard is the set of rules that define the C++ language.  The define the sytax of the C++ language (i.e. ";" ends a statement, "::" is the scope resolution operator), how language constructs are to behave (i.e. what does a for loop do) how memory is to be organized (memory is stored by bytes of at least 8 bits.  Each byte must be large enough to store a character of the host's character set.  Each byte is stored at unique addresses....).   Amazingly about 1/2 of the standard does not deal with the Langauge proper, but with the STL library, which is really a library written in the C++ language, and not (in many ways) part of the language.

The standard was developed by a joint committee of ANSI (American National standards Institute) and ISO (International standards Organization (In English)).   If you are interested in its development I strongly suggest you read Bjarne Stroustrup's The Design and Evolution of C++.   It takes you form the Roots of C++ to nearly the end of its standarization.   Its entertaining reading and of some (not a lot) value to a programmer.
0
 

Author Comment

by:learn
ID: 7060482
To nietod,

Thanks a lot for your interesting explanation :-)
0
 

Author Comment

by:learn
ID: 7060484
Thanks for your help.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question