mirror of
https://github.com/boostorg/asio.git
synced 2026-02-26 02:42:08 +00:00
Ensure ip::address_v4::to_ulong is marked as deprecated in the documentation.
This commit is contained in:
@@ -125,11 +125,12 @@ public:
|
||||
/// Get the address in bytes, in network byte order.
|
||||
BOOST_ASIO_DECL bytes_type to_bytes() const BOOST_ASIO_NOEXCEPT;
|
||||
|
||||
/// Get the address as an unsigned integer in host byte order
|
||||
/// Get the address as an unsigned integer in host byte order.
|
||||
BOOST_ASIO_DECL uint_type to_uint() const BOOST_ASIO_NOEXCEPT;
|
||||
|
||||
#if !defined(BOOST_ASIO_NO_DEPRECATED)
|
||||
/// Get the address as an unsigned long in host byte order
|
||||
/// (Deprecated: Use to_uint().) Get the address as an unsigned long in host
|
||||
/// byte order.
|
||||
BOOST_ASIO_DECL unsigned long to_ulong() const;
|
||||
#endif // !defined(BOOST_ASIO_NO_DEPRECATED)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user