I want to implement an operator to be able to store strings in a queue implicitly through an operator. Something like that:
Expand|Select|Wrap|Line Numbers
- ...
- SetString( )
- {
- string1 >> string2 >> string3 >> string4 >> string5
- }
The operator ">>" should then read each string and store it in a global queue by calling the queue's member function "push()".
Is there any way to implement such operator.
regards