C# - a great article about C# monads
http://ericlippert.com http://ericlippert.com/category/monads/
http://ericlippert.com http://ericlippert.com/category/monads/
http://msdn.microsoft.com/en-us/magazine/jj863136.aspx
1 2 3 4 5 6 7 8 9 bool EC_EnableMulticastLoopBack(SOCKET socket, bool IPv6, bool enable) { // enable/disable loop char loop = enable ? 1 : 0; if ...
1 2 3 4 5 6 7 bool EC_SetMulticastInterfaceIndex(SOCKET socket, bool IPv6, int index) { if (IPv6) { return setsockopt(socket, IPPROTO_IPV6, IPV6_...
1 constexpr explicit optional<T>::operator bool() const noexcept;