Skip to content

Commit e6be3bd

Browse files
Export fields_base and drop member exports
1 parent b6fbc1f commit e6be3bd

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

include/boost/http_proto/fields_base.hpp

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace http_proto {
3232
3333
@note HTTP field names are case-insensitive.
3434
*/
35-
class fields_base
35+
class BOOST_HTTP_PROTO_DECL fields_base
3636
{
3737
detail::header h_;
3838
std::size_t max_cap_ =
@@ -74,32 +74,32 @@ class fields_base
7474
friend class parser;
7575
friend class serializer;
7676

77-
BOOST_HTTP_PROTO_DECL
77+
7878
explicit
7979
fields_base(
8080
detail::kind k) noexcept;
8181

82-
BOOST_HTTP_PROTO_DECL
82+
8383
fields_base(
8484
detail::kind k,
8585
void* storage,
8686
std::size_t cap) noexcept;
8787

88-
BOOST_HTTP_PROTO_DECL
88+
8989
fields_base(
9090
detail::kind k,
9191
core::string_view s);
9292

93-
BOOST_HTTP_PROTO_DECL
93+
9494
explicit
9595
fields_base(
9696
detail::header const& h);
9797

98-
BOOST_HTTP_PROTO_DECL
98+
9999
fields_base(
100100
fields_base const&);
101101

102-
BOOST_HTTP_PROTO_DECL
102+
103103
fields_base(
104104
detail::header const& h,
105105
void* storage,
@@ -168,7 +168,7 @@ class fields_base
168168
std::string value;
169169

170170
/// Constructor.
171-
BOOST_HTTP_PROTO_DECL
171+
172172
value_type(
173173
reference const& other);
174174

@@ -211,7 +211,7 @@ class fields_base
211211

212212
/** Destructor.
213213
*/
214-
BOOST_HTTP_PROTO_DECL
214+
215215
~fields_base();
216216

217217
//--------------------------------------------
@@ -283,7 +283,7 @@ class fields_base
283283
284284
@param id The field name constant.
285285
*/
286-
BOOST_HTTP_PROTO_DECL
286+
287287
core::string_view
288288
at(field id) const;
289289

@@ -305,13 +305,13 @@ class fields_base
305305
306306
@param name The field name.
307307
*/
308-
BOOST_HTTP_PROTO_DECL
308+
309309
core::string_view
310310
at(core::string_view name) const;
311311

312312
/** Return true if a field exists.
313313
*/
314-
BOOST_HTTP_PROTO_DECL
314+
315315
bool
316316
exists(field id) const noexcept;
317317

@@ -323,7 +323,7 @@ class fields_base
323323
324324
@param name The field name.
325325
*/
326-
BOOST_HTTP_PROTO_DECL
326+
327327
bool
328328
exists(
329329
core::string_view name) const noexcept;
@@ -332,7 +332,7 @@ class fields_base
332332
333333
@param id The field name constant.
334334
*/
335-
BOOST_HTTP_PROTO_DECL
335+
336336
std::size_t
337337
count(field id) const noexcept;
338338

@@ -344,7 +344,7 @@ class fields_base
344344
345345
@param name The field name.
346346
*/
347-
BOOST_HTTP_PROTO_DECL
347+
348348
std::size_t
349349
count(
350350
core::string_view name) const noexcept;
@@ -353,7 +353,7 @@ class fields_base
353353
354354
@param id The field name constant.
355355
*/
356-
BOOST_HTTP_PROTO_DECL
356+
357357
iterator
358358
find(field id) const noexcept;
359359

@@ -365,7 +365,7 @@ class fields_base
365365
366366
@param name The field name.
367367
*/
368-
BOOST_HTTP_PROTO_DECL
368+
369369
iterator
370370
find(
371371
core::string_view name) const noexcept;
@@ -377,7 +377,7 @@ class fields_base
377377
378378
@param id The field name constant.
379379
*/
380-
BOOST_HTTP_PROTO_DECL
380+
381381
iterator
382382
find(
383383
iterator from,
@@ -394,7 +394,7 @@ class fields_base
394394
395395
@param name The field name.
396396
*/
397-
BOOST_HTTP_PROTO_DECL
397+
398398
iterator
399399
find(
400400
iterator from,
@@ -408,7 +408,7 @@ class fields_base
408408
409409
@param id The field name constant.
410410
*/
411-
BOOST_HTTP_PROTO_DECL
411+
412412
iterator
413413
find_last(
414414
iterator before,
@@ -426,7 +426,7 @@ class fields_base
426426
427427
@param name The field name.
428428
*/
429-
BOOST_HTTP_PROTO_DECL
429+
430430
iterator
431431
find_last(
432432
iterator before,
@@ -439,7 +439,7 @@ class fields_base
439439
@param s The value to be returned if
440440
field does not exist.
441441
*/
442-
BOOST_HTTP_PROTO_DECL
442+
443443
core::string_view
444444
value_or(
445445
field id,
@@ -456,7 +456,7 @@ class fields_base
456456
@param s The value to be returned if
457457
field does not exist.
458458
*/
459-
BOOST_HTTP_PROTO_DECL
459+
460460
core::string_view
461461
value_or(
462462
core::string_view name,
@@ -466,7 +466,7 @@ class fields_base
466466
467467
@param id The field name constant.
468468
*/
469-
BOOST_HTTP_PROTO_DECL
469+
470470
subrange
471471
find_all(field id) const noexcept;
472472

@@ -478,7 +478,7 @@ class fields_base
478478
479479
@param name The field name.
480480
*/
481-
BOOST_HTTP_PROTO_DECL
481+
482482
subrange
483483
find_all(
484484
core::string_view name) const noexcept;
@@ -519,7 +519,7 @@ class fields_base
519519
@par Complexity
520520
Constant.
521521
*/
522-
BOOST_HTTP_PROTO_DECL
522+
523523
void
524524
clear() noexcept;
525525

@@ -545,7 +545,7 @@ class fields_base
545545
546546
@param n The capacity in bytes.
547547
*/
548-
BOOST_HTTP_PROTO_DECL
548+
549549
void
550550
reserve_bytes(std::size_t n);
551551

@@ -574,7 +574,7 @@ class fields_base
574574
575575
@param n The maximum allowed capacity in bytes.
576576
*/
577-
BOOST_HTTP_PROTO_DECL
577+
578578
void
579579
set_max_capacity_in_bytes(std::size_t n);
580580

@@ -584,7 +584,7 @@ class fields_base
584584
Strong guarantee.
585585
Calls to allocate may throw.
586586
*/
587-
BOOST_HTTP_PROTO_DECL
587+
588588
void
589589
shrink_to_fit();
590590

@@ -835,7 +835,7 @@ class fields_base
835835
@param value The value which must be semantically
836836
valid for the message.
837837
*/
838-
BOOST_HTTP_PROTO_DECL
838+
839839
iterator
840840
insert(
841841
iterator before,
@@ -884,7 +884,7 @@ class fields_base
884884
885885
@param ec Set to the error if input is invalid.
886886
*/
887-
BOOST_HTTP_PROTO_DECL
887+
888888
iterator
889889
insert(
890890
iterator before,
@@ -936,7 +936,7 @@ class fields_base
936936
@param value The value which must be semantically
937937
valid for the message.
938938
*/
939-
BOOST_HTTP_PROTO_DECL
939+
940940
iterator
941941
insert(
942942
iterator before,
@@ -985,7 +985,7 @@ class fields_base
985985
986986
@param ec Set to the error if input is invalid.
987987
*/
988-
BOOST_HTTP_PROTO_DECL
988+
989989
iterator
990990
insert(
991991
iterator before,
@@ -1012,7 +1012,7 @@ class fields_base
10121012
@param it The iterator to the element
10131013
to erase.
10141014
*/
1015-
BOOST_HTTP_PROTO_DECL
1015+
10161016
iterator
10171017
erase(iterator it) noexcept;
10181018

@@ -1033,7 +1033,7 @@ class fields_base
10331033
10341034
@param id The field name constant.
10351035
*/
1036-
BOOST_HTTP_PROTO_DECL
1036+
10371037
std::size_t
10381038
erase(field id) noexcept;
10391039

@@ -1054,7 +1054,7 @@ class fields_base
10541054
10551055
@param name The header name.
10561056
*/
1057-
BOOST_HTTP_PROTO_DECL
1057+
10581058
std::size_t
10591059
erase(
10601060
core::string_view name) noexcept;
@@ -1091,7 +1091,7 @@ class fields_base
10911091
@param value The value which must be semantically
10921092
valid for the message.
10931093
*/
1094-
BOOST_HTTP_PROTO_DECL
1094+
10951095
void
10961096
set(iterator it, core::string_view value);
10971097

@@ -1123,7 +1123,7 @@ class fields_base
11231123
11241124
@param ec Set to the error if input is invalid.
11251125
*/
1126-
BOOST_HTTP_PROTO_DECL
1126+
11271127
void
11281128
set(
11291129
iterator it,
@@ -1210,7 +1210,7 @@ class fields_base
12101210
12111211
@param ec Set to the error if input is invalid.
12121212
*/
1213-
BOOST_HTTP_PROTO_DECL
1213+
12141214
void
12151215
set(
12161216
field id,
@@ -1296,7 +1296,7 @@ class fields_base
12961296
12971297
@param ec Set to the error if input is invalid.
12981298
*/
1299-
BOOST_HTTP_PROTO_DECL
1299+
13001300
void
13011301
set(
13021302
core::string_view name,
@@ -1337,19 +1337,19 @@ class fields_base
13371337
@param f The container to write.
13381338
*/
13391339
friend
1340-
BOOST_HTTP_PROTO_DECL
1340+
13411341
std::ostream&
13421342
operator<<(
13431343
std::ostream& os,
13441344
const fields_base& f);
13451345

13461346
private:
1347-
BOOST_HTTP_PROTO_DECL
1347+
13481348
void
13491349
copy_impl(
13501350
detail::header const&);
13511351

1352-
BOOST_HTTP_PROTO_DECL
1352+
13531353
void
13541354
insert_impl(
13551355
optional<field> id,

0 commit comments

Comments
 (0)