Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator>>=

boost::signals::operator>>= — Connects two components (typically as a part of a chain of components).

Synopsis

template<typename Input, typename Output> 
  boost::enable_if< is_component< Input >, Input & >::type 
  operator>>=(Input & input, Output & output);

Description

This operator is identical to signals::operator| (it connects the left component to the right component, and returns a reference to the left component), except it is evaluated right to left. This makes it semantics more suitable for connecting a chain of components.

Copyright © 2007 Stjepan Rajko

PrevUpHomeNext