Serving the Quantitative Finance Community

Search found 1 match

by mateuszb
December 10th, 2022, 12:58 am
Forum: Programming and Software Forum
Topic: C++ tricks
Replies: 6
Views: 7644

Re: C++ tricks

I know this is late but perhaps someone finds this useful: #include <iostream> #include <string> #include <vector> #include <cassert> using namespace std; namespace { enum class State {    QUOTED,    UNQUOTED }; } int main() {    string line;    State state = State::UNQUOTED;    using Field = string...