LWS logo
Service temporarily under maintenance, in read-only mode. Please come back later.
C++
4.8.1 (g++)
4.8.0 (g++)
4.7.3 (g++)
4.7.2 (g++)
4.6.4 (g++)
4.6.3 (g++)
3.2 (clang++)
13.0.1 (Intel)
C
4.8.1 (gcc)
4.8.0 (gcc)
4.7.3 (gcc)
4.7.2 (gcc)
4.6.4 (gcc)
4.6.3 (gcc)
3.2 (clang)
13.0.1 (Intel)
Python
3.3.0
2.7.3
1.9.0 (PyPy)
Ruby
2.0.0
1.9.3
JS
V8 (3.15.11)
SpiderMonkey (1.8.5)
PHP
5.4.6
Lua
5.2.1
2.0.0 (LuaJit)
Perl
Perl6 (2013.02.1)
5.14.2
C#
2.10 (mono)
F#
3.0 (mono)
Nemerle
1.1.1018.0 (mono)
Go
4.8.1 (GCCGo)
4.8.0 (GCCGo)
4.7.2 (GCCGo)
1.0.3 (GoogleGo)
Rust
0.6
0.5
D
v2 (gdc-4.6.3)
v2 (dmd-2.060)
Fortran
4.8.1 (GFortran)
4.8.0 (GFortran)
4.7.2 (GFortran)
Haskell
7.4.2
Lisp
2.49 (clisp)
1.1.12 (sbcl)
Code Snippets
Standard
iostream & main() without args & using namespace std
for-loop
calc (2.7)
calc (3.x)
Hello world
factorial
Hello world
echo
factorial
Hello world
Hello world
factorial
factorial
foreach
factorial
Hello world
factorial
Hello world
iostream & main() with args & using namespace std
iostream & main() with args
iostream & main() without args
stdio + stdlib & main() without args
stdio + stdlib & main() with args
try - catch
for-loop
ctor-dtor tracer
time measure
TypeName demangler
Fibonacci
Hello world
Hello world
factorial
Hello world
Hello world
ctor-dtor tracer with R-value ctor using boost.move
Hello world
factorial
perl-6 factorial
line: 0, col: 0 lines: 0 0 symbols
changes: 15
stdin data
Output
Compilation finished with errors:
source.cpp:4:45: warning: unused parameter 'pString' [-Wunused-parameter]
void Tester2( std::unique_ptr<std::wstring> pString ) { }
^
source.cpp:6:79: error: call to deleted constructor of 'std::unique_ptr<std::wstring>'
void CallTester2( ) { std::unique_ptr<std::wstring> pString ; Tester2( pString ) ; }
^~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/unique_ptr.h:262:7: note: function has been explicitly marked deleted here
unique_ptr(const unique_ptr&) = delete;
^
source.cpp:4:45: note: passing argument to parameter 'pString' here
void Tester2( std::unique_ptr<std::wstring> pString ) { }
^
1 warning and 1 error generated.