Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ mex_streambuf
Method
mex_streambuf
dlib/matlab/mex_wrapper.cpp:3045–3053 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3043
3044
public:
3045
mex_streambuf (
3046
)
3047
{
3048
buf.resize(1000);
3049
setp(&buf[0], &buf[0] + buf.size()-2);
3050
3051
// make cout send data to mex_streambuf
3052
oldbuf = std::cout.rdbuf(this);
3053
}
3054
3055
~mex_streambuf()
3056
{
Callers
nothing calls this directly
Calls
2
resize
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected