Clean up some internal forward declarations.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85753 b8fc166d-592f-0410-95f2-cb63ce0dd405
Add missing move cast.

git-svn-id: http://svn.boost.org/svn/boost/trunk@85754 b8fc166d-592f-0410-95f2-cb63ce0dd405
Fix another socket descriptor comparison that doesn't work correctly if
the descriptor type is unsigned.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85755 b8fc166d-592f-0410-95f2-cb63ce0dd405
Fix documentation error where an asynchronous function was described as
having synchronous behaviour.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85756 b8fc166d-592f-0410-95f2-cb63ce0dd405
Add missing forward declarations needed for Windows.

git-svn-id: http://svn.boost.org/svn/boost/trunk@85757 b8fc166d-592f-0410-95f2-cb63ce0dd405
Remove use of std::min.

git-svn-id: http://svn.boost.org/svn/boost/trunk@85758 b8fc166d-592f-0410-95f2-cb63ce0dd405
Inore ERROR_MORE_DATA as a non-fatal error when returned by
GetOverlappedResult for a synchronous read.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85759 b8fc166d-592f-0410-95f2-cb63ce0dd405
Enable certain C++11 standard library facilities for recent versions of Microsoft Visual Studio.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85760 b8fc166d-592f-0410-95f2-cb63ce0dd405
Visual C++ language extensions use generic as a keyword. Add a
workaround that renames the namespace to cpp_generic when those
language extensions are in effect.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85761 b8fc166d-592f-0410-95f2-cb63ce0dd405
Some async operations that missed getting the async_result treatment.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85762 b8fc166d-592f-0410-95f2-cb63ce0dd405
Eliminate some unnecessary handler copies.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85763 b8fc166d-592f-0410-95f2-cb63ce0dd405
Initial port to Windows Runtime.

This change adds limited support for using Asio with the Windows
Runtime. It requires that the language extensions be enabled. Due to the
restricted facilities exposed by the Windows Runtime API, the port comes
with the following caveats:

* The core facilities such as the io_service, strand, buffers, composed
  operations, timers, etc., should all work as normal.

* For sockets, only client-side TCP is supported.

* Explicit binding of a client-side TCP socket is not supported.

* The cancel() function is not supported for sockets. Asynchronous
  operations may only be cancelled by closing the socket.

* Operations that use null_buffers are not supported.

* Only tcp::no_delay and socket_base::keep_alive options are supported.

* Resolvers do not support service names, only numbers. I.e. you must
  use 80 rather than http.

* Most resolver query flags have no effect.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85764 b8fc166d-592f-0410-95f2-cb63ce0dd405
Regenerate documentation.

git-svn-id: http://svn.boost.org/svn/boost/trunk@85765 b8fc166d-592f-0410-95f2-cb63ce0dd405
Enable move support for Microsoft Visual C++ 2012.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85766 b8fc166d-592f-0410-95f2-cb63ce0dd405
Add use_future support for Microsoft Visual C++.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85767 b8fc166d-592f-0410-95f2-cb63ce0dd405
Fix prefix on extern "C" function name.


git-svn-id: http://svn.boost.org/svn/boost/trunk@85768 b8fc166d-592f-0410-95f2-cb63ce0dd405
Spirit X3 unused

git-svn-id: http://svn.boost.org/svn/boost/trunk@85769 b8fc166d-592f-0410-95f2-cb63ce0dd405
Moved files to the new directory structure. Removed unnecessary dependencies. Fixed a few bugs.

git-svn-id: http://svn.boost.org/svn/boost/trunk@85770 b8fc166d-592f-0410-95f2-cb63ce0dd405
sync: win32 compile fix

git-svn-id: http://svn.boost.org/svn/boost/trunk@85771 b8fc166d-592f-0410-95f2-cb63ce0dd405
Thread: add detail:: to access detail::win32::GetTickCount64().

git-svn-id: http://svn.boost.org/svn/boost/trunk@85772 b8fc166d-592f-0410-95f2-cb63ce0dd405