mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
Improve the documentation
This commit is contained in:
parent
2b061a6058
commit
f3c33b58c6
3
.gitignore
vendored
3
.gitignore
vendored
@ -47,6 +47,3 @@ bld/
|
||||
|
||||
# Visual Studo 2015 cache/options directory
|
||||
.vs/
|
||||
|
||||
doc/doxygen/
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
1
doc/doxygen/.gitignore
vendored
Normal file
1
doc/doxygen/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
doxygen/
|
||||
2458
doc/doxygen/Doxyfile
Normal file
2458
doc/doxygen/Doxyfile
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -26,7 +26,7 @@
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
**/
|
||||
*/
|
||||
|
||||
#ifndef CONTINUABLE_DETAIL_API_HPP_INCLUDED__
|
||||
#define CONTINUABLE_DETAIL_API_HPP_INCLUDED__
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -36,7 +36,7 @@
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/base.hpp>
|
||||
#include <continuable/detail/composition.hpp>
|
||||
#include <continuable/detail/traits.hpp>
|
||||
@ -328,7 +328,7 @@ public:
|
||||
///
|
||||
/// \param right The argument on the right-hand side to connect.
|
||||
///
|
||||
/// \returns See the corresponding continuable::then method for the
|
||||
/// \returns See the corresponding continuable_base::then method for the
|
||||
/// explanation of the return type.
|
||||
///
|
||||
/// \since version 2.0.0
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -34,7 +34,7 @@
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/hints.hpp>
|
||||
#include <continuable/detail/types.hpp>
|
||||
#include <continuable/detail/util.hpp>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -31,7 +31,7 @@
|
||||
#ifndef CONTINUABLE_TESTING_HPP_INCLUDED__
|
||||
#define CONTINUABLE_TESTING_HPP_INCLUDED__
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/testing.hpp>
|
||||
#include <continuable/detail/traits.hpp>
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
#include <continuable/continuable-base.hpp>
|
||||
#include <continuable/continuable-promise-base.hpp>
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/hints.hpp>
|
||||
#include <continuable/detail/types.hpp>
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -31,7 +31,7 @@
|
||||
#ifndef CONTINUABLE_TRANSFORMS_HPP_INCLUDED__
|
||||
#define CONTINUABLE_TRANSFORMS_HPP_INCLUDED__
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/transforms.hpp>
|
||||
|
||||
namespace cti {
|
||||
@ -48,7 +48,7 @@ namespace cti {
|
||||
/// | `continuable_base with <Arg>` | `std::future<Arg>` |
|
||||
/// | `continuable_base with <Args...>` | `std::future<std::tuple<Args...>>` |
|
||||
///
|
||||
/// \alert If exceptions are used, exceptions that are thrown, are forwarded
|
||||
/// \attention If exceptions are used, exceptions that are thrown, are forwarded
|
||||
/// to the returned future. If there are no exceptions supported,
|
||||
/// you shall not pass any errors to the end of the asynchronous
|
||||
/// call chain!
|
||||
@ -67,7 +67,7 @@ inline auto futurize() {
|
||||
///
|
||||
/// \returns Returns a continuable with the same signature as applied to.
|
||||
///
|
||||
/// \note This can be used to create a continuable which doesn't resolve
|
||||
/// \attention This can be used to create a continuable which doesn't resolve
|
||||
/// the continuation on errors.
|
||||
///
|
||||
/// \since version 2.0.0
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
#include <function2/function2.hpp>
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/continuable-trait.hpp>
|
||||
|
||||
namespace cti {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -40,7 +40,7 @@
|
||||
#include <exception>
|
||||
#endif
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/hints.hpp>
|
||||
#include <continuable/detail/traits.hpp>
|
||||
#include <continuable/detail/types.hpp>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -39,7 +39,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include <continuable/continuable-promise-base.hpp>
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/base.hpp>
|
||||
#include <continuable/detail/hints.hpp>
|
||||
#include <continuable/detail/traits.hpp>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/traits.hpp>
|
||||
#include <continuable/detail/util.hpp>
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/traits.hpp>
|
||||
#include <continuable/detail/types.hpp>
|
||||
#include <continuable/detail/util.hpp>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -37,7 +37,7 @@
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/features.hpp>
|
||||
|
||||
namespace cti {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
#include <future>
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/base.hpp>
|
||||
#include <continuable/detail/features.hpp>
|
||||
#include <continuable/detail/hints.hpp>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -39,7 +39,7 @@
|
||||
#endif // CONTINUABLE_WITH_NO_EXCEPTIONS
|
||||
#endif // CONTINUABLE_WITH_CUSTOM_ERROR_TYPE
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/features.hpp>
|
||||
|
||||
namespace cti {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
|
||||
/~` _ _ _|_. _ _ |_ | _
|
||||
\_,(_)| | | || ||_|(_||_)|(/_
|
||||
@ -36,7 +36,7 @@
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include <continuable/detail/api.hpp>
|
||||
#include <continuable/continuable-api.hpp>
|
||||
#include <continuable/detail/features.hpp>
|
||||
#include <continuable/detail/traits.hpp>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
/**
|
||||
/*
|
||||
Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user