coveo::linq
Implementation of .NET-like LINQ operators in C++
|
Exception classes used by LINQ operators. More...
Go to the source code of this file.
Classes | |
class | coveo::linq::empty_sequence |
Empty sequence exception. More... | |
class | coveo::linq::out_of_range |
Out-of-range exception. More... | |
Functions | |
template<typename = void> | |
void | coveo::linq::throw_linq_empty_sequence () |
Helper function to throw a coveo::linq::empty_sequence exception. More... | |
template<typename = void> | |
void | coveo::linq::throw_linq_out_of_range () |
Helper function to throw a coveo::linq::out_of_range exception. More... | |
void coveo::linq::throw_linq_empty_sequence | ( | ) |
Throws an instance of coveo::linq::empty_sequence
to indicate that a LINQ operator does not work on the provided empty sequence. Does not return.
void coveo::linq::throw_linq_out_of_range | ( | ) |
Throws an instance of coveo::linq::out_of_range
to indicate that a LINQ operator has gone outside the range of the provided sequence. Does not return.