Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
stream_utils.h File Reference
#include <gsl/gsl>
#include <istream>
#include <streambuf>
#include <string>

Go to the source code of this file.

Classes

struct  momentum::spanstreambuf
 Stream buffer based on a span. More...
struct  momentum::ispanstream
 istream that takes a span of const bytes as input. More...

Namespaces

namespace  momentum

Functions

std::istream & momentum::GetLineCrossPlatform (std::istream &is, std::string &line)
 Reads a line from the input stream, handling line endings for different platforms.