@@ -32,7 +32,7 @@ and is by far faster, more expressive, and easier for drop-in integration than e
3232The following example [ simple.cpp] ( ./example/simple.cpp ) shows the basic API you need to use Cpp-Taskflow.
3333
3434``` cpp
35- #include " taskflow.hpp" // the only include you need
35+ #include < taskflow.hpp> // the only include you need
3636
3737int main (){
3838
@@ -195,7 +195,7 @@ auto B = tf.silent_emplace([] (auto& subflow) {
195195 auto B3 = subflow.silent_emplace([ ] ( ) {}).name("B3");
196196 B1.precede(B3);
197197 B2.precede(B3);
198- }).name(" TaskB " );
198+ }).name(" B " );
199199
200200A.precede(B); // B runs after A
201201A.precede(C); // C runs after A
@@ -208,7 +208,7 @@ std::cout << tf.dump_topologies();
208208```
209209
210210By default, a subflow graph joins to its parent node.
211- This guarantees a subflow graph to finish before executing the successors of
211+ This guarantees a subflow graph to finish before the successors of
212212its parent node.
213213You can disable this feature by calling ` subflow.detach() ` .
214214Detaching the above subflow will result in the following execution flow.
@@ -231,7 +231,7 @@ Detaching the above subflow will result in the following execution flow.
231231
232232Cpp-Taskflow has an unified interface for static and dynamic tasking.
233233To create a subflow for dynamic tasking,
234- emplace a task callable with one argument of type ` tf::SubflowBuilder ` .
234+ emplace a callable on one argument of type ` tf::SubflowBuilder ` .
235235
236236``` cpp
237237auto A = tf.silent_emplace([] (tf::SubflowBuilder& subflow) {});
0 commit comments