Skip to content

Commit 6f00555

Browse files
authored
Merge pull request #77 from beman-project/add-brief-documentation
adding more basic documentation
2 parents 808602a + 827b56b commit 6f00555

36 files changed

+227
-23
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,12 @@ clang-format:
100100
todo:
101101
bin/mk-todo.py
102102

103-
clean:
104-
$(RM) -r $(BUILD)
103+
.PHONY: clean-doc
104+
clean-doc:
105+
$(RM) -r docs/html docs/latex
106+
107+
clean: clean-doc
108+
$(RM) -r $(BUILD)
105109
$(RM) mkerr olderr *~
106110

107111
distclean: clean

assets/css/style.scss

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/html/.nojekyll

Whitespace-only changes.

include/beman/execution26/detail/almost_scheduler.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace beman::execution26::detail {
1818
* \brief Auxiliary concept used to break cycle for scheduler concept.
1919
* \headerfile beman/execution26/execution.hpp <beman/execution26/execution.hpp>
2020
* \internal
21+
* \concept almost_scheduler
2122
*/
2223
template <typename Scheduler>
2324
concept almost_scheduler = ::std::derived_from<typename ::std::remove_cvref_t<Scheduler>::scheduler_concept,

include/beman/execution26/detail/apply_sender.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
// ----------------------------------------------------------------------------
1212

1313
namespace beman::execution26 {
14+
/*!
15+
* \brief Function used to transform a sender and its arguments for a domain.
16+
* \headerfile beman/execution26/execution.hpp <beman/execution26/execution.hpp>
17+
*/
1418
template <typename Domain, typename Tag, ::beman::execution26::sender Sender, typename... Args>
1519
requires requires(Domain domain, Tag tag, Sender&& sender, Args&&... args) {
1620
domain.apply_sender(Tag(), ::std::forward<Sender>(sender), ::std::forward<Args>(args)...);
@@ -20,6 +24,10 @@ constexpr auto apply_sender(Domain domain, Tag, Sender&& sender, Args&&... args)
2024
return domain.apply_sender(Tag(), ::std::forward<Sender>(sender), ::std::forward<Args>(args)...);
2125
}
2226

27+
/*!
28+
* \brief Default function used to transform a second and its arguments.
29+
* \headerfile beman/execution26/execution.hpp <beman/execution26/execution.hpp>
30+
*/
2331
template <typename Domain, typename Tag, ::beman::execution26::sender Sender, typename... Args>
2432
requires(not requires(Domain domain, Tag tag, Sender&& sender, Args&&... args) {
2533
domain.apply_sender(Tag(), ::std::forward<Sender>(sender), ::std::forward<Args>(args)...);

include/beman/execution26/detail/callable.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace beman::execution26::detail {
1212
/*!
1313
* \brief Concept used to detect callable objects.
1414
* \headerfile beman/execution26/execution.hpp <beman/execution26/execution.hpp>
15+
* \concept callable
1516
* \internal
1617
*/
1718
template <typename Fun, typename... Args>

include/beman/execution26/detail/common.hpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,15 @@ namespace beman {
3636
*
3737
* \headerfile beman/execution26/execution.hpp <beman/execution26/execution.hpp>
3838
*/
39-
namespace execution26 {}
39+
namespace execution26 {
40+
41+
/*!
42+
* \namespace beman::execution26::detail
43+
* \brief Namespace for implementation details related to beman::execution26
44+
* \internal
45+
*/
46+
namespace detail {}
47+
} // namespace execution26
4048
} // namespace beman
4149

4250
// ----------------------------------------------------------------------------

include/beman/execution26/detail/completion_domain.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ struct completion_domain_merge<completion_domain_undefined, completion_domain_un
3434
using type = completion_domain_undefined;
3535
};
3636

37+
/*!
38+
* \brief Get a sender's completion domain or the specified default.
39+
* \headerfile beman/execution26/execution.hpp <beman/execution26/execution.hpp>
40+
* \internal
41+
*/
3742
template <typename Default = ::beman::execution26::default_domain, typename Sender>
3843
constexpr auto completion_domain(const Sender& sender) noexcept {
3944

include/beman/execution26/detail/completion_signature.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ struct is_set_value<::beman::execution26::set_value_t(Args...)> : ::std::true_ty
3737
* - set_value_t(A...) for successful completion with a set of argument.
3838
*
3939
* \headerfile beman/execution26/execution.hpp <beman/execution26/execution.hpp>
40+
* \concept copmletion_signature
4041
* \internal
4142
*/
4243
template <typename Fun>

include/beman/execution26/detail/completion_signatures.hpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@
1111
// ----------------------------------------------------------------------------
1212

1313
namespace beman::execution26 {
14+
/*!
15+
* \brief Class template used to a specify a list of completion signatures
16+
* \headerfile beman/execution26/execution.hpp <beman/execution26/execution.hpp>
17+
*
18+
* \details
19+
* This class template is primarily used for type computations and objects of
20+
* any specializaion are empty. Objects may be created to return them from
21+
* functions used for type computations like get_completion_signatures(sender, env).
22+
*/
1423
template <::beman::execution26::detail::completion_signature...>
1524
struct completion_signatures {};
1625
} // namespace beman::execution26

0 commit comments

Comments
 (0)