Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 3acdf1e4b3
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (15 sloc) 0.33 kb
#define STRINGLIB_DEBUG
#include "stringlib.h"
using namespace std;
struct print {
template <class S>
void operator()(S const& s) const {
cout<<s<<endl;
}
};
char p[]=" 1 are u 2 serious?";
int main(int argc, char *argv[]) {
std::string const& w="verylongword";
VisitTokens(p,print());
VisitTokens(w,print());
}
Jump to Line
Something went wrong with that request. Please try again.