You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include <string>
#include <iostream>
// first problem: WHY DO I NEED OPTIONAL HERE?
#include <optional>
#include "pipes/transform.hpp"
#include "pipes/to_out_stream.hpp"
int main()
{
std::string test{"ABC"};
test
>>= pipes::transform([](char c){return c + 2; })
>>= pipes::to_out_stream(std::cout);
}
My simple test code is not compiling:
https://godbolt.org/z/PsM9Yf
For the first problem see #64
For the actual problem:
Compiling this gives an error message:
what am i missing here?
The text was updated successfully, but these errors were encountered: