Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb2e659

Browse files
committed
Ensure the std::array overloads of asio::buffer() are included in the
documentation.
1 parent2092949 commitdb2e659

File tree

2 files changed

+276
-36
lines changed

2 files changed

+276
-36
lines changed

‎asio/include/asio/buffer.hpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
976976
? data.size() *sizeof(PodType) : max_size_in_bytes));
977977
}
978978

979-
#if defined(ASIO_HAS_STD_ARRAY)
979+
#if defined(ASIO_HAS_STD_ARRAY) || defined(GENERATING_DOCUMENTATION)
980980

981981
/// Create a new modifiable buffer that represents the given POD array.
982982
/**
@@ -1071,7 +1071,7 @@ inline const_buffers_1 buffer(const std::array<PodType, N>& data,
10711071
? data.size() *sizeof(PodType) : max_size_in_bytes));
10721072
}
10731073

1074-
#endif// defined(ASIO_HAS_STD_ARRAY)
1074+
#endif// defined(ASIO_HAS_STD_ARRAY) || defined(GENERATING_DOCUMENTATION)
10751075

10761076
/// Create a new modifiable buffer that represents the given POD vector.
10771077
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp