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: 0
stdin data
Output
Compilation finished with errors:
In file included from /usr/include/boost/asio/basic_datagram_socket.hpp:20:0,
from /usr/include/boost/asio.hpp:20,
from source.cpp:2:
/usr/include/boost/asio/basic_socket.hpp: In instantiation of 'void boost::asio::basic_socket<Protocol, SocketService>::async_connect(const endpoint_type&, ConnectHandler&&) [with ConnectHandler = const boost::reference_wrapper<boost::signals2::signal<void(const boost::system::error_code&)> >; Protocol = boost::asio::ip::tcp; SocketService = boost::asio::stream_socket_service<boost::asio::ip::tcp>; boost::asio::basic_socket<Protocol, SocketService>::endpoint_type = boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>]':
source.cpp:10:53: required from here
/usr/include/boost/asio/basic_socket.hpp:706:5: error: static assertion failed: ConnectHandler type requirements not met
/usr/include/boost/asio/basic_socket.hpp:706:63: error: no match for call to '(boost::reference_wrapper<boost::signals2::signal<void(const boost::system::error_code&)> >) (const boost::system::error_code&)'