--- a/stdcpp/tsrc/Stdcpp_test/bcdrivers/tiostreams/src/tiostreamsblocks.cpp Tue Aug 31 16:54:36 2010 +0300
+++ b/stdcpp/tsrc/Stdcpp_test/bcdrivers/tiostreams/src/tiostreamsblocks.cpp Wed Sep 01 12:36:54 2010 +0100
@@ -35,7 +35,6 @@
#include <iostream>
#include <fstream>
#include <stl/char_traits.h>
-#include <new>
#include<e32std.h>
#include<exception>
@@ -625,7 +624,7 @@
int length;
-//char * buffer;
+char * buffer;
char getl[8] ;
filebuf fb;
fb.open ("c:\\TestFramework\\docs\\istream.txt",ios::in);
@@ -892,7 +891,7 @@
//____________________
int arr[4] = { 3,4,7,8 };
-// int total=0;
+ int total=0;
deque<int> d(arr+0, arr+4);
//
// stream the whole vector and a sum to cout
@@ -1052,9 +1051,9 @@
#if STDCPP_OOM
User::__DbgSetAllocFail(FALSE,RHeap::EDeterministic,1);
#endif
-// char* s;
-// int n;
-// ios_base::openmode mode;
+ char* s;
+ int n;
+ ios_base::openmode mode;
// strstream ss3(s, n, mode);
strstream ss1,ss2;
ss1 << "";
@@ -1122,9 +1121,9 @@
#if STDCPP_OOM
User::__DbgSetAllocFail(FALSE,RHeap::EDeterministic,1);
#endif
-// char* s;
-// int n;
-// ios_base::openmode mode;
+ char* s;
+ int n;
+ ios_base::openmode mode;
// ostrstream oss3( s, n, mode);
ostrstream oss1 ,oss2;
string str;
@@ -1319,23 +1318,23 @@
User::__DbgSetAllocFail(FALSE,RHeap::EDeterministic,1);
#endif
- signed char* get = NULL;
+ signed char* get;
streamsize n=10;
- signed char* put = NULL;
- unsigned char* uget = NULL;
- unsigned char* uput = NULL;
- const char* cget = NULL;
- const signed char* csget = NULL;
+ signed char* put;
+ unsigned char* uget;
+ unsigned char* uput;
+ const char* cget;
+ const signed char* csget;
- const unsigned char* cucget = NULL;
+ const unsigned char* cucget;
typedef void* (*__alloc_fn)(size_t);
typedef void (*__free_fn)(void*);
-// __alloc_fn alloc_f;
+ __alloc_fn alloc_f;
-// __free_fn free_f;
+ __free_fn free_f;
//overloaded
strstreambuf buf1(get, n,put);
@@ -1492,7 +1491,7 @@
{
-// streamoff s;
+ streamoff s;
ifstream file( "c:\\TestFramework\\docs\\fpos_state.txt" );
cout<<"";
#if STDCPP_OOM