GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::istrstream::~istrstream(3) C++ Standard Libary std::istrstream::~istrstream(3)

std::istrstream::~istrstream - std::istrstream::~istrstream


virtual ~istrstream();


Destroys a std::istrstream object, which also destroys the member std::strstreambuf.


(none)


The constructors of std::istrstream do not create the underlying std::strstreambuf
in dynamically allocated mode, so the memory leaks that are possible with
std::ostrstream::~ostrstream or std::strstream::~strstream do not apply.

// Run this code


#include <strstream>
#include <iostream>


int main()
{
{
std::istrstream s("1.234");
double d;
s >> d;
std::cout << d << '\n';
} // destructor called
}


1.234

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.