From 40a2c22e26d26cef2f71d701cf96b4aacc950e8b Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 30 Sep 2025 15:59:20 -0600 Subject: [PATCH] Add using declarations to bring placeholders _1, _2 into scope Fixes #97 --- examples/stepper_details.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/stepper_details.cpp b/examples/stepper_details.cpp index 0368f8b4..873bfc00 100644 --- a/examples/stepper_details.cpp +++ b/examples/stepper_details.cpp @@ -15,6 +15,7 @@ #include #include +#include #include using namespace std; @@ -119,6 +120,9 @@ int main( int argc , char **argv ) // Symplectic harmonic oscillator example { + using std::placeholders::_1; + using std::placeholders::_2; + double t( 0.0 ) , dt( 0.1 ); //[ symplectic_stepper_detail_example pair< vector_type , vector_type > x;