The Artima Developer Community
Sponsored Link

C++ Community News Forum
Piping between Functions

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Christopher Diggins

Posts: 1215
Nickname: cdiggins
Registered: Feb, 2004

Piping between Functions Posted: Jan 10, 2005 9:58 AM
Reply to this message Reply
Summary
A new article at CodeProject.com describes how functions which behave like filters can be redirected from one to another.
Advertisement
If your function behaves like a filter (taking input from stdin, and outputting to stdout), why not redirect it like a filter? In a recent article at http://www.codeproject.com/useritems/function-pipes.asp I describe a filter class which wraps void function pointers, and overloads the >> operator to allow redirection of the stdout of one function to the stdin of another.

Topic: Boost 1.32.0 Source Code Online Previous Topic   Next Topic Topic: IncrediBuild v2.20 Released

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use