Merge pull request #337 from hankail05/iostream
c++: make cin recognize whether 'using namespace std' exists
This commit is contained in:
commit
676a6ddc19
|
@ -2,4 +2,6 @@
|
|||
# name: cin
|
||||
# key: cin
|
||||
# --
|
||||
cin >> $0;
|
||||
`(progn (goto-char (point-min)) (unless (re-search-forward
|
||||
"^using\\s-+namespace std;" nil 'no-error) "std::"))
|
||||
`cin >> $0;
|
Loading…
Reference in New Issue