Unverified Commit f8316e8e authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Apply suggestions from code review

Co-Authored-By: default avatarJoseph Noir <josephnoir@users.noreply.github.com>
parent bac72820
......@@ -48,7 +48,7 @@ auto inspect(Inspector& f, std::chrono::time_point<Clock, Duration>& x) {
}
}
// -- provide is_inspectable trait for metaprogramming -------------------------
// -- provide `is_inspectable` trait for metaprogramming -----------------------
/// Checks whether `T` is inspectable by `Inspector`.
template <class Inspector, class T>
......@@ -67,7 +67,7 @@ public:
= !std::is_same<result_type, std::false_type>::value;
};
// pointers are never inspectable
// Pointers are never inspectable.
template <class Inspector, class T>
struct is_inspectable<Inspector, T*> : std::false_type {};
......
......@@ -38,7 +38,7 @@ using int_types_by_size = detail::type_list< // bytes
detail::type_pair<int64_t, uint64_t> // 8
>;
/// Squashes integer types into [u]int_[8|16|32|64]_t equivalents
/// Squashes integer types into [u]int_[8|16|32|64]_t equivalents.
template <class T>
struct squashed_int {
using tpair = typename detail::tl_at<int_types_by_size, sizeof(T)>::type;
......
......@@ -254,7 +254,7 @@ public:
template <class T>
constexpr bool is_iterable<T>::value;
/// Checks wheter `T` is a non-const reference.
/// Checks whether `T` is a non-const reference.
template <class T>
struct is_mutable_ref : std::false_type { };
......
......@@ -104,7 +104,7 @@ error empty_type_erased_tuple::load(size_t, deserializer&) {
}
error_code<sec> empty_type_erased_tuple::load(size_t, binary_deserializer&) {
CAF_RAISE_ERROR("empty_type_erased_tuple::get_mutable");
CAF_RAISE_ERROR("empty_type_erased_tuple::load");
}
size_t empty_type_erased_tuple::size() const noexcept {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment