repo.or.cz
/
cmake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ENH: fix for Vista
[cmake.git]
/
Modules
/
TestForSSTREAM.cxx
blob
af4a4bbef9ce3920f400b3a226e7999b7c3df1fd
1
#include <sstream>
2
int
main
(
int
,
char
*[])
3
{
4
std
::
ostringstream os
;
5
os
<<
"12345"
;
6
if
(
os
.
str
().
size
() ==
5
)
7
{
8
return
0
;
9
}
10
return
-
1
;
11
}