coveo::linq
Implementation of .NET-like LINQ operators in C++
Classes | Functions
exception.h File Reference

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...
 

Detailed Description

Function Documentation

◆ throw_linq_empty_sequence()

template<typename = void>
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.

See also
coveo::linq::empty_sequence

◆ throw_linq_out_of_range()

template<typename = void>
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.

See also
coveo::linq::out_of_range