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