Skip to content

Commit ad06e26

Browse files
committed
Remove ASCII line divider comments from public headers
1 parent 6efdd4e commit ad06e26

21 files changed

+0
-182
lines changed

include/boost/capy/buffers.hpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ namespace capy {
3232
class const_buffer;
3333
class mutable_buffer;
3434

35-
//------------------------------------------------
36-
3735
/// Tag type for customizing `buffer_size` via `tag_invoke`.
3836
struct size_tag {};
3937

@@ -54,8 +52,6 @@ enum class slice_how
5452
keep_prefix
5553
};
5654

57-
//------------------------------------------------
58-
5955
/** A reference to a contiguous region of writable memory.
6056
6157
Represents a pointer and size pair for a modifiable byte range.
@@ -146,8 +142,6 @@ class mutable_buffer
146142
}
147143
};
148144

149-
//------------------------------------------------
150-
151145
/** A reference to a contiguous region of read-only memory.
152146
153147
Represents a pointer and size pair for a non-modifiable byte range.
@@ -245,8 +239,6 @@ class const_buffer
245239
}
246240
};
247241

248-
//------------------------------------------------
249-
250242
/** Concept for sequences of read-only buffer regions.
251243
252244
A type satisfies `ConstBufferSequence` if it represents one or more
@@ -284,8 +276,6 @@ concept MutableBufferSequence =
284276
std::ranges::bidirectional_range<T> &&
285277
std::is_convertible_v<std::ranges::range_value_t<T>, mutable_buffer>);
286278

287-
//------------------------------------------------------------------------------
288-
289279
/** Return an iterator to the first buffer in a sequence.
290280
291281
Handles single buffers and ranges uniformly. For a single buffer,
@@ -342,8 +332,6 @@ constexpr struct end_mrdocs_workaround_t
342332
}
343333
} end {};
344334

345-
//------------------------------------------------------------------------------
346-
347335
template<ConstBufferSequence CB>
348336
std::size_t
349337
tag_invoke(
@@ -357,8 +345,6 @@ tag_invoke(
357345
return n;
358346
}
359347

360-
//------------------------------------------------------------------------------
361-
362348
/** Return the total byte count across all buffers in a sequence.
363349
364350
Sums the `size()` of each buffer in the sequence. This differs
@@ -403,8 +389,6 @@ constexpr struct buffer_empty_mrdocs_workaround_t
403389
}
404390
} buffer_empty {};
405391

406-
//-----------------------------------------------
407-
408392
namespace detail {
409393

410394
template<class It>

include/boost/capy/buffers/asio.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,6 @@ class buffer_sequence_adaptor
263263

264264
} // detail
265265

266-
//------------------------------------------------
267-
268266
/** Adapt a capy buffer sequence for use with Asio.
269267
270268
Returns a wrapper whose iterators dereference to

include/boost/capy/buffers/buffer_array.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,6 @@ class buffer_array
385385
}
386386
};
387387

388-
//------------------------------------------------
389-
390388
/** Alias for buffer_array holding const_buffer.
391389
392390
@tparam N Maximum number of buffers.

include/boost/capy/buffers/make_buffer.hpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ make_buffer(
182182
N * sizeof(T) < max_size ? N * sizeof(T) : max_size);
183183
}
184184

185-
//------------------------------------------------
186185
// std::array
187-
//------------------------------------------------
188186

189187
/** Return a buffer from a std::array.
190188
*/
@@ -244,9 +242,7 @@ make_buffer(
244242
? data.size() * sizeof(T) : max_size);
245243
}
246244

247-
//------------------------------------------------
248245
// std::vector
249-
//------------------------------------------------
250246

251247
/** Return a buffer from a std::vector.
252248
*/
@@ -308,9 +304,7 @@ make_buffer(
308304
? data.size() * sizeof(T) : max_size);
309305
}
310306

311-
//------------------------------------------------
312307
// std::basic_string
313-
//------------------------------------------------
314308

315309
/** Return a buffer from a std::basic_string.
316310
*/
@@ -368,9 +362,7 @@ make_buffer(
368362
? data.size() * sizeof(CharT) : max_size);
369363
}
370364

371-
//------------------------------------------------
372365
// std::basic_string_view
373-
//------------------------------------------------
374366

375367
/** Return a buffer from a std::basic_string_view.
376368
*/
@@ -400,9 +392,7 @@ make_buffer(
400392
? data.size() * sizeof(CharT) : max_size);
401393
}
402394

403-
//------------------------------------------------
404395
// std::span
405-
//------------------------------------------------
406396

407397
/** Return a buffer from a mutable std::span.
408398
*/
@@ -458,9 +448,7 @@ make_buffer(
458448
data.size() < max_size ? data.size() : max_size);
459449
}
460450

461-
//------------------------------------------------
462451
// Contiguous ranges
463-
//------------------------------------------------
464452

465453
namespace detail {
466454

include/boost/capy/buffers/slice.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ using slice_type = std::conditional_t<
4444
detail::has_tag_invoke<T>::value,
4545
T, slice_of<T>>;
4646

47-
//------------------------------------------------
48-
4947
/** A view of a sub-range of a buffer sequence.
5048
5149
This class wraps a buffer sequence and presents a
@@ -410,8 +408,6 @@ class slice_of<BufferSequence>
410408
}
411409
};
412410

413-
//------------------------------------------------
414-
415411
// in-place modify return value
416412
// -----------------------------
417413
// keep_prefix* prefix
@@ -483,8 +479,6 @@ constexpr struct remove_suffix_mrdocs_workaround_t
483479
}
484480
} const remove_suffix{};
485481

486-
//------------------------------------------------
487-
488482
/** Return a sequence representing the first `n` bytes of a buffer sequence
489483
*/
490484
constexpr struct prefix_mrdocs_workaround_t

include/boost/capy/concept/buffer_archetype.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ using const_buffer_archetype = const_buffer;
5151
using const_buffer_archetype = const_buffer_archetype_;
5252
#endif
5353

54-
//------------------------------------------------
55-
5654
/** Archetype for MutableBufferSequence concept checking.
5755
5856
This type satisfies @ref MutableBufferSequence but cannot be

include/boost/capy/cond.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ enum class cond
7272
not_found = 4
7373
};
7474

75-
//-----------------------------------------------
76-
7775
} // capy
7876
} // boost
7977

@@ -87,8 +85,6 @@ struct is_error_condition_enum<
8785
namespace boost {
8886
namespace capy {
8987

90-
//-----------------------------------------------
91-
9288
namespace detail {
9389

9490
struct BOOST_CAPY_SYMBOL_VISIBLE
@@ -109,8 +105,6 @@ BOOST_CAPY_DECL extern cond_cat_type cond_cat;
109105

110106
} // detail
111107

112-
//-----------------------------------------------
113-
114108
/// Create an error_condition from a cond value.
115109
inline
116110
std::error_condition

include/boost/capy/error.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ enum class error
4646
not_found
4747
};
4848

49-
//-----------------------------------------------
50-
5149
} // capy
5250
} // boost
5351

@@ -61,8 +59,6 @@ struct is_error_code_enum<
6159
namespace boost {
6260
namespace capy {
6361

64-
//-----------------------------------------------
65-
6662
namespace detail {
6763

6864
struct BOOST_CAPY_SYMBOL_VISIBLE
@@ -80,8 +76,6 @@ BOOST_CAPY_DECL extern error_cat_type error_cat;
8076

8177
} // detail
8278

83-
//-----------------------------------------------
84-
8579
/// Create an error_code from an error value.
8680
inline
8781
std::error_code

include/boost/capy/ex/immediate.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ struct immediate
121121
}
122122
};
123123

124-
//----------------------------------------------------------
125-
126124
/** Create an immediate awaitable for a successful io_result.
127125
128126
This helper creates an @ref immediate wrapping an @ref io_result
@@ -198,8 +196,6 @@ ready(T1 t1, T2 t2, T3 t3)
198196
return {{{}, std::move(t1), std::move(t2), std::move(t3)}};
199197
}
200198

201-
//----------------------------------------------------------
202-
203199
/** Create an immediate awaitable for a failed io_result.
204200
205201
This helper creates an @ref immediate wrapping an @ref io_result

include/boost/capy/ex/run.hpp

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@
5959

6060
namespace boost::capy::detail {
6161

62-
//----------------------------------------------------------
63-
//
64-
// dispatch_trampoline - cross-executor dispatch
65-
//
66-
//----------------------------------------------------------
67-
6862
/** Minimal coroutine that dispatches through the caller's executor.
6963
7064
Sits between the inner task and the parent when executors
@@ -148,12 +142,6 @@ inline dispatch_trampoline make_dispatch_trampoline()
148142
co_return;
149143
}
150144

151-
//----------------------------------------------------------
152-
//
153-
// run_awaitable_ex - with executor (executor switch)
154-
//
155-
//----------------------------------------------------------
156-
157145
/** Awaitable that binds an IoRunnable to a specific executor.
158146
159147
Stores the executor and inner task by value. When co_awaited, the
@@ -265,12 +253,6 @@ struct [[nodiscard]] run_awaitable_ex
265253
run_awaitable_ex& operator=(run_awaitable_ex&&) = default;
266254
};
267255

268-
//----------------------------------------------------------
269-
//
270-
// run_awaitable - no executor (inherits caller's executor)
271-
//
272-
//----------------------------------------------------------
273-
274256
/** Awaitable that runs a task with optional stop_token override.
275257
276258
Does NOT store an executor - the task inherits the caller's executor
@@ -364,12 +346,6 @@ struct [[nodiscard]] run_awaitable
364346
run_awaitable& operator=(run_awaitable&&) = default;
365347
};
366348

367-
//----------------------------------------------------------
368-
//
369-
// run_wrapper_ex - with executor
370-
//
371-
//----------------------------------------------------------
372-
373349
/** Wrapper returned by run(ex, ...) that accepts a task for execution.
374350
375351
@tparam Ex The executor type.
@@ -505,12 +481,6 @@ class [[nodiscard]] run_wrapper_ex<Ex, InheritStopToken, void>
505481
}
506482
};
507483

508-
//----------------------------------------------------------
509-
//
510-
// run_wrapper - no executor (inherits caller's executor)
511-
//
512-
//----------------------------------------------------------
513-
514484
/** Wrapper returned by run(st) or run(alloc) that accepts a task.
515485
516486
@tparam InheritStopToken If true, inherit caller's stop token.
@@ -629,12 +599,6 @@ class [[nodiscard]] run_wrapper<false, void>
629599

630600
namespace boost::capy {
631601

632-
//----------------------------------------------------------
633-
//
634-
// run() overloads - with executor
635-
//
636-
//----------------------------------------------------------
637-
638602
/** Bind a task to execute on a specific executor.
639603
640604
Returns a wrapper that accepts a task and produces an awaitable.
@@ -736,12 +700,6 @@ run(Ex ex, std::stop_token st, Alloc alloc)
736700
std::move(ex), std::move(st), std::move(alloc)};
737701
}
738702

739-
//----------------------------------------------------------
740-
//
741-
// run() overloads - no executor (inherits caller's)
742-
//
743-
//----------------------------------------------------------
744-
745703
/** Run a task with a custom stop token.
746704
747705
The task inherits the caller's executor. Only the stop token

0 commit comments

Comments
 (0)