basic_string constructor

Discussion in 'C Programming' started by George2, Feb 26, 2008.

  1. George2

    George2

    Joined:
    Feb 12, 2008
    Messages:
    108
    Hello everyone,


    I want to study the constructor for string to see whether for an empty string it has some default storage allocated or not (for self technical interest only), and string is defined based on basic_string<char>, so I begin to study basic_string.

    But in file string, there is no constructor for basic_string. Anything wrong? Where is it?

    I am using Visual Studio 2008.


    thanks in advance,
    George
     
    George2, Feb 26, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul Pedriana

    unit test for basic_string?

    Paul Pedriana, Oct 18, 2003, in forum: C++
    Replies:
    1
    Views:
    473
    Paul Pedriana
    Nov 1, 2003
  2. Jin
    Replies:
    0
    Views:
    405
  3. Dylan Nicholson
    Replies:
    14
    Views:
    3,227
    Brian McKeever
    Feb 17, 2004
  4. =?ISO-8859-15?Q?R=E9mi_Peyronnet?=

    STL & basic_string<XMLCh> link error

    =?ISO-8859-15?Q?R=E9mi_Peyronnet?=, Feb 16, 2004, in forum: C++
    Replies:
    0
    Views:
    550
    =?ISO-8859-15?Q?R=E9mi_Peyronnet?=
    Feb 16, 2004
  5. Generic Usenet Account
    Replies:
    10
    Views:
    2,353
    robertwessel2@yahoo.com
    Nov 28, 2007
Loading...

Share This Page