MCPcopy Create free account
hub / github.com/coin-or/CppAD / is_variable

Function is_variable

example/general/stack_machine.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 return binary;
41}
42bool is_variable( const std::string &s )
43{ char ch = s[0];
44 bool variable = ('a' <= ch) && (ch <= 'z');
45 return variable;
46}
47
48void StackMachine(
49 std::stack< std::string > &token_stack ,

Callers 1

StackMachineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected