# element_ops.hh File Reference

Declarations of standard external operator delegations for `Element`. More...

Include dependency graph for element_ops.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces

namespace | vcsn

| The main namespace of the Vaucanson library.
namespace | std

| Declaring the traits for SupportIterator, according to the STL.

## Functions

template<typename S1 , typename T1 , typename S2 , typename T2 >
static bool | operator< (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Comparison between Element instances.
template<typename S1 , typename T1 , typename S2 , typename T2 >
static bool | operator> (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Comparison between Element instances.
template<typename S1 , typename T1 , typename S2 , typename T2 >
static bool | operator<= (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Comparison between Element instances.
template<typename S1 , typename T1 , typename S2 , typename T2 >
static bool | operator>= (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Comparison between Element instances.
template<typename S , typename T , typename U >
static bool | operator< (const vcsn::Element< S, T > &e, const U &v)
| Comparison between Element and foreign values (left version).
template<typename S , typename T , typename U >
static bool | operator> (const vcsn::Element< S, T > &e, const U &v)
| Comparison between Element and foreign values (left version).
template<typename S , typename T , typename U >
static bool | operator>= (const vcsn::Element< S, T > &e, const U &v)
| Comparison between Element and foreign values (left version).
template<typename S , typename T , typename U >
static bool | operator<= (const vcsn::Element< S, T > &e, const U &v)
| Comparison between Element and foreign values (left version).
template<typename U , typename S , typename T >
static bool | operator< (const U &v, const vcsn::Element< S, T > &e)
| Comparison between Element and foreign values (right version).
template<typename U , typename S , typename T >
static bool | operator> (const U &v, const vcsn::Element< S, T > &e)
| Comparison between Element and foreign values (right version).
template<typename U , typename S , typename T >
static bool | operator>= (const U &v, const vcsn::Element< S, T > &e)
| Comparison between Element and foreign values (right version).
template<typename U , typename S , typename T >
static bool | operator<= (const U &v, const vcsn::Element< S, T > &e)
| Comparison between Element and foreign values (right version).
template<typename S1 , typename T1 , typename S2 , typename T2 >
static bool | operator== (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Equality between Element instances.
template<typename S , typename T , typename U >
static bool | operator== (const vcsn::Element< S, T > &e, const U &v)
| Equality between Element and foreign values (left version).
template<typename U , typename S , typename T >
static bool | operator== (const U &v, const vcsn::Element< S, T > &e)
| Equality between Element and foreign values (right version).
template<typename S1 , typename T1 , typename S2 , typename T2 >
static bool | operator!= (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Difference between Element instances.
template<typename S , typename T , typename U >
static bool | operator!= (const vcsn::Element< S, T > &e, const U &v)
| Difference between Element and foreign values (left version).
template<typename U , typename S , typename T >
static bool | operator!= (const U &v, const vcsn::Element< S, T > &e)
| Difference between Element and foreign values (right version).
template<typename S1 , typename T1 , typename S2 , typename T2 >
static vcsn::op_add_traits< S1, S2, T1, T2 >::ret_t | operator+ (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Addition between Element instances.
template<typename S , typename T , typename U >
static vcsn::Element< S, T > | operator+ (const vcsn::Element< S, T > &e, const U &v)
| Addition between Element and foreign values (left).
template<typename U , typename S , typename T >
static vcsn::Element< S, T > | operator+ (const U &v, const vcsn::Element< S, T > &e)
| Addition between Element and foreign values (right).
template<typename S1 , typename T1 , typename S2 , typename T2 >
static vcsn::op_sub_traits< S1, S2, T1, T2 >::ret_t | operator- (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Substraction between Element instances.
template<typename S , typename T , typename U >
static vcsn::Element< S, T > | operator- (const vcsn::Element< S, T > &e, const U &v)
| Substraction between Element and foreign values (left).
template<typename U , typename S , typename T >
static vcsn::Element< S, T > | operator- (const U &v, const vcsn::Element< S, T > &e)
| Substraction between Element and foreign values (right).
template<typename S1 , typename T1 , typename S2 , typename T2 >
static vcsn::op_mul_traits< S1, S2, T1, T2 >::ret_t | operator* (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Multiplication between Element instances.
template<typename S , typename T , typename U >
static vcsn::Element< S, T > | operator* (const vcsn::Element< S, T > &e, const U &v)
| Multiplication between Element and foreign values (left).
template<typename U , typename S , typename T >
static vcsn::Element< S, T > | operator* (const U &v, const vcsn::Element< S, T > &e)
| Multiplication between Element and foreign values (right).
template<typename S1 , typename T1 , typename S2 , typename T2 >
static vcsn::op_div_traits< S1, S2, T1, T2 >::ret_t | operator/ (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Division between Element instances.
template<typename S , typename T , typename U >
static vcsn::Element< S, T > | operator/ (const vcsn::Element< S, T > &e, const U &v)
| Division between Element and foreign values (left).
template<typename U , typename S , typename T >
static vcsn::Element< S, T > | operator/ (const U &v, const vcsn::Element< S, T > &e)
| Division between Element and foreign values (right).
template<typename S1 , typename T1 , typename S2 , typename T2 >
static vcsn::op_mod_traits< S1, S2, T1, T2 >::ret_t | operator% (const vcsn::Element< S1, T1 > &e1, const vcsn::Element< S2, T2 > &e2)
| Modulus between Element instances.
template<typename S , typename T , typename U >
static vcsn::Element< S, T > | operator% (const vcsn::Element< S, T > &e, const U &v)
| Modulus between Element and foreign values (left).
template<typename U , typename S , typename T >
static vcsn::Element< S, T > | operator% (const U &v, const vcsn::Element< S, T > &e)
| Modulus between Element and foreign values (right.
template<typename S , typename T >
static vcsn::Element< S, T > | operator- (const vcsn::Element< S, T > &)
| Unary negation of Element instances.
template<typename St , typename S , typename T >
static St & | operator<< (St &s, const vcsn::Element< S, T > &e)
| Output to stream.
template<typename St , typename S , typename T >
static St & | operator>> (St &s, const vcsn::Element< S, T > &e)
| Input from stream.
template<typename S , typename T1 , typename T2 >
void | swap (vcsn::Element< S, T1 > &e1, vcsn::Element< S, T2 > &e2)
| Swap to Element instances with the same structure.
template<typename S , typename T >
void | swap (vcsn::Element< S, T > &e1, T &v2)
| Swap between Element and foreign values (left).
template<typename T , typename S >
void | swap (T &v1, vcsn::Element< S, T > &e2)
| Swap between Element and foreign values (right).

## Detailed Description

Declarations of standard external operator delegations for `Element`.

Definition in file element_ops.hh.