Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

queue.dox: We should open the file before attaching the streams

  • Loading branch information...
commit a2eae124a8bc9c77aaf06062062a69ab445eb9aa 1 parent f38000b
@Mortal Mortal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/queue.dox.in
View
2  doc/queue.dox.in
@@ -13,10 +13,10 @@ the stream performing unnecessary block flushes and reads.
\code
tpie::file<T> queue;
+queue.open(); // open anonymous temporary file for reading and writing
tpie::file<T>::stream front(queue);
tpie::file<T>::stream back(queue);
tpie::stream_size_type enqueued = 0;
-queue.open(); // open anonymous temporary file for reading and writing
\endcode
In the above code fragment, we associate two streams to one tpie::file. For
Please sign in to comment.
Something went wrong with that request. Please try again.