mimic++ v4
Loading...
Searching...
No Matches
Sequence.hpp File Reference
#include "mimic++/Fwd.hpp"
#include "mimic++/Printer.hpp"
#include "mimic++/Reporter.hpp"
#include "mimic++/Utility.hpp"
#include <algorithm>
#include <array>
#include <cassert>
#include <functional>
#include <span>
#include <tuple>
Include dependency graph for Sequence.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mimicpp::LazySequence
 The lazy sequence interface. More...
 
class  mimicpp::GreedySequence
 The greedy sequence interface. More...
 

Namespaces

namespace  mimicpp
 
namespace  mimicpp::sequence
 
namespace  mimicpp::expect
 

Typedefs

using mimicpp::SequenceT = LazySequence
 The default sequence type (LazySequence).
 

Functions

template<typename Id , auto priorityStrategy>
constexpr auto mimicpp::expect::in_sequence (sequence::detail::BasicSequenceInterface< Id, priorityStrategy > &sequence) noexcept
 Attaches the expectation onto a sequence.
 
template<typename FirstId , auto firstPriorityStrategy, typename SecondId , auto secondPriorityStrategy, typename... OtherIds, auto... otherPriorityStrategies>
constexpr auto mimicpp::expect::in_sequences (sequence::detail::BasicSequenceInterface< FirstId, firstPriorityStrategy > &firstSequence, sequence::detail::BasicSequenceInterface< SecondId, secondPriorityStrategy > &secondSequence, sequence::detail::BasicSequenceInterface< OtherIds, otherPriorityStrategies > &... otherSequences)
 Attaches the expectation onto the listed sequences.