Skip to content

Commit 1c94f90

Browse files
authored
Merge pull request #247 from bangerth/ranges
Add necessary header files.
2 parents 81f5799 + 2c46fd4 commit 1c94f90

File tree

8 files changed

+23
-18
lines changed

8 files changed

+23
-18
lines changed

include/sampleflow/auxiliary_data.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include <any>
2222
#include <map>
23+
#include <string>
2324

2425

2526
namespace SampleFlow

tests/condition_01.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@
1818
// the aux_data.
1919

2020

21-
#include <iostream>
22-
2321
#include <sampleflow/producers/range.h>
2422
#include <sampleflow/filters/condition.h>
2523
#include <sampleflow/consumers/stream_output.h>
2624
#include <sampleflow/connections.h>
2725

26+
#include <iostream>
27+
#include <ranges>
28+
2829

2930
int main ()
3031
{

tests/condition_02.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@
2121
// Eratosthenes for computing primes.
2222

2323

24-
#include <iostream>
25-
#include <functional>
26-
2724
#include <sampleflow/producers/range.h>
2825
#include <sampleflow/filters/condition.h>
2926
#include <sampleflow/consumers/stream_output.h>
3027
#include <sampleflow/connections.h>
3128

29+
#include <iostream>
30+
#include <functional>
31+
#include <ranges>
32+
3233

3334
int main ()
3435
{

tests/connections_01.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@
2121
// that setting parentheses works as expected.
2222

2323

24-
#include <iostream>
25-
#include <functional>
26-
2724
#include <sampleflow/producers/range.h>
2825
#include <sampleflow/filters/condition.h>
2926
#include <sampleflow/consumers/stream_output.h>
3027
#include <sampleflow/connections.h>
3128

3229
#include <sstream>
30+
#include <iostream>
31+
#include <functional>
32+
#include <ranges>
33+
3334

3435
int main ()
3536
{

tests/connections_02.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@
2525
// use temporary objects (created in-place) for these.
2626

2727

28-
#include <iostream>
29-
#include <functional>
30-
3128
#include <sampleflow/producers/range.h>
3229
#include <sampleflow/filters/condition.h>
3330
#include <sampleflow/consumers/stream_output.h>
3431
#include <sampleflow/connections.h>
3532

3633
#include <sstream>
34+
#include <iostream>
35+
#include <functional>
36+
#include <ranges>
37+
3738

3839
int main ()
3940
{

tests/connections_03.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
// disappearing objects.
3030

3131

32-
#include <iostream>
33-
#include <functional>
34-
3532
#include <sampleflow/producers/range.h>
3633
#include <sampleflow/filters/condition.h>
3734
#include <sampleflow/consumers/stream_output.h>
3835
#include <sampleflow/connections.h>
3936

4037
#include <sstream>
38+
#include <iostream>
39+
#include <functional>
40+
#include <ranges>
4141

4242
int main ()
4343
{

tests/range_producer_03.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
// class.
2020

2121

22-
#include <iostream>
23-
2422
#include <sampleflow/producers/range.h>
2523
#include <sampleflow/consumers/stream_output.h>
2624

25+
#include <iostream>
26+
#include <ranges>
2727

2828

2929
int main ()

tests/range_producer_04.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
// class.
2020

2121

22-
#include <iostream>
23-
2422
#include <sampleflow/producers/range.h>
2523
#include <sampleflow/consumers/stream_output.h>
2624

25+
#include <iostream>
26+
#include <ranges>
2727

2828

2929
int main ()

0 commit comments

Comments
 (0)