Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
42
bool is_variable( const std::string &s )
43
{ char ch = s[0];
44
bool variable = (
'a'
<= ch) && (ch <=
'z'
);
45
return variable;
46
}
47
48
void StackMachine(
49
std::stack< std::string > &token_stack ,
Callers
1
StackMachine
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected