Skip to content

Commit

Permalink
Merge pull request #2042 from eseiler/fix/cpprefernce
Browse files Browse the repository at this point in the history
[DOC] Fix broken cppreference links
  • Loading branch information
eseiler authored Aug 19, 2020
2 parents fc20e33 + 658436d commit 327f911
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion include/seqan3/alphabet/composite/alphabet_variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace seqan3
*
* The alphabet_variant represents the union of two or more alternative alphabets (e.g. the
* four letter DNA alternative + the gap alternative). It behaves similar to a
* [variant](https://en.cppreference.com/w/cpp/language/variant) or std::variant, but it preserves the
* [variant](https://en.cppreference.com/w/cpp/utility/variant) or std::variant, but it preserves the
* seqan3::alphabet.
*
* Short description:
Expand Down
4 changes: 2 additions & 2 deletions include/seqan3/argument_parser/argument_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class argument_parser
* If option_type is a container, its value type must have the
* formatted input function (exception: std::string is not
* regarded as a container).
* See <a href="https://en.cppreference.com/w/cpp/concept/FormattedInputFunction"> FormattedInputFunction </a>.
* See <a href="https://en.cppreference.com/w/cpp/named_req/FormattedInputFunction"> FormattedInputFunction </a>.
* \tparam validator_type The type of validator to be applied to the option
* value. Must model seqan3::validator.
*
Expand Down Expand Up @@ -277,7 +277,7 @@ class argument_parser
* If option_type is a container, its value type must have the
* formatted input function (exception: std::string is not
* regarded as a container).
* See <a href="https://en.cppreference.com/w/cpp/concept/FormattedInputFunction"> FormattedInputFunction </a>.
* See <a href="https://en.cppreference.com/w/cpp/named_req/FormattedInputFunction"> FormattedInputFunction </a>.
* \tparam validator_type The type of validator to be applied to the option
* value. Must model seqan3::validator.
*
Expand Down
4 changes: 2 additions & 2 deletions include/seqan3/core/concept/core_language.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ SEQAN3_CONCEPT trivially_copyable = std::copyable<t> && std::is_trivially_copyab
* \brief A type that satisfies seqan3::trivially_copyable and seqan3::trivially_destructible.
* \extends seqan3::trivially_copyable
* \extends seqan3::trivially_destructible
* \sa https://en.cppreference.com/w/cpp/experimental/ranges/concepts/copyable
* \sa https://en.cppreference.com/w/cpp/types/is_trivial
*/
//!\cond
template <typename t>
Expand All @@ -170,7 +170,7 @@ SEQAN3_CONCEPT trivial = trivially_copyable<t> && trivially_destructible<t> && s

/*!\interface seqan3::standard_layout
* \brief Resolves to std::is_standard_layout_v<t>.
* \sa https://en.cppreference.com/w/cpp/named_req/standard_layoutType
* \sa https://en.cppreference.com/w/cpp/types/is_standard_layout
*/
//!\cond
template <typename t>
Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/io/detail/ignore_output_iterator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ignore_output_iterator
/*!\name Member types
* \{
* \brief Associated types are void for output iterators, see also
* [output iterator concept](https://en.cppreference.com/w/cpp/concept/output_iterator).
* [output iterator concept](https://en.cppreference.com/w/cpp/iterator/output_iterator).
*/

//!\brief The value type (void).
Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/io/detail/out_file_iterator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace seqan3::detail
* std::default_sentinel always return false (there is no end in an output file).
*
* If any of these characteristics seem unusual to you, please refer to the [standard library's
* documentation on output iterators](https://en.cppreference.com/w/cpp/concept/output_iterator).
* documentation on output iterators](https://en.cppreference.com/w/cpp/iterator/output_iterator).
*
* This class template differs from std::back_insert_iterator only in that it performs
* no checks itself on the assigned values and that it allows comparisons against
Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/range/container/aligned_allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace seqan3
* As you can see, in the case of the aligned_allocator it is guaranteed that the
* first element in the vector starts at offset 0.
*
* \see https://en.cppreference.com/w/cpp/concept/Allocator
* \see https://en.cppreference.com/w/cpp/named_req/Allocator
* \see https://en.cppreference.com/w/cpp/memory/c/aligned_alloc
*/
template <typename value_t, size_t alignment_v = __STDCPP_DEFAULT_NEW_ALIGNMENT__>
Expand Down
6 changes: 3 additions & 3 deletions include/seqan3/range/container/concept.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace seqan3
* \extends seqan3::const_iterable_range
* \brief The (most general) container concept as defined by the standard library.
* \details
* The container concept is modelled as in the [STL](https://en.cppreference.com/w/cpp/concept/Container), but
* The container concept is modelled as in the [STL](https://en.cppreference.com/w/cpp/named_req/Container), but
* additionally requires std::swap() to be implemented.
*
* \attention
Expand Down Expand Up @@ -135,7 +135,7 @@ SEQAN3_CONCEPT container = requires (type val, type val2, type const cval, typen
*
* Includes constraints on constructors, `assign()`, `.insert()`, `.erase()`, `.push_back()`, `.pop_back`, `.clear()`,
* `.size()`, `front()` and `.back()` member functions with corresponding signatures. Models the subset of the
* [STL SequenceConcept](https://en.cppreference.com/w/cpp/concept/SequenceConcept) that is supported
* [STL SequenceConcept](https://en.cppreference.com/w/cpp/named_req/SequenceContainer) that is supported
* by `std::list`, `std::vector`, `std::deque`, `std::basic_string`.
*
* \attention
Expand Down Expand Up @@ -198,7 +198,7 @@ SEQAN3_CONCEPT sequence_container = requires (type val, type val2, type const cv
* \brief A more refined container concept than seqan3::sequence_container.
*
* Adds requirements for `.at()`, `.resize()` and the subscript operator `[]`. Models the subset of the
* [STL SequenceConcept](https://en.cppreference.com/w/cpp/concept/SequenceConcept) that is supported
* [STL SequenceConcept](https://en.cppreference.com/w/cpp/named_req/SequenceContainer) that is supported
* by `std::vector`, `std::deque` and `std::basic_string`.
*
* \attention
Expand Down
4 changes: 2 additions & 2 deletions include/seqan3/range/decorator/gap_decorator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace seqan3
* ### The seqan3::gap_decorator::iterator type
*
* \attention The iterator of the seqan3::gap_decorator does not model the
* [Cpp17BidirectionalIterator](https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator)
* [Cpp17BidirectionalIterator](https://en.cppreference.com/w/cpp/iterator/bidirectional_iterator)
* requirements of the STL because dereferencing the iterator returns a proxy and no operator-> is provided.
* It does model the C++20 std::bidirectional_iterator.
*
Expand Down Expand Up @@ -582,7 +582,7 @@ gap_decorator(urng_t range) -> gap_decorator<urng_t>;
* \details
*
* This iterator returns values when dereferenced, not references, i.e. it does not satisfy the semantic
* requirements of [Cpp17BidirectionalIterator](https://en.cppreference.com/w/cpp/named_req/bidirectional_iterator).
* requirements of [Cpp17BidirectionalIterator](https://en.cppreference.com/w/cpp/iterator/bidirectional_iterator).
* It does model the C++20 std::bidirectional_iterator. In addition, it offers all interfaces of a standard
* std::random_access_iterator except the iterator category which is defined as std::bidirectional_iterator_tag,
* because the complexity of the iterator is logarithmic and not constant. However, all interfaces inside the
Expand Down

0 comments on commit 327f911

Please sign in to comment.