| 3918 | std::string jj_s = "Another String"; |
| 3919 | |
| 3920 | struct test |
| 3921 | { |
| 3922 | static inline bool variable(exprtk::symbol_table<T>& symbol_table, const std::string& variable_name, const T& value) |
| 3923 | { |
| 3924 | exprtk::details::variable_node<T>* var = symbol_table.get_variable(variable_name); |
| 3925 | |
| 3926 | if (var) |
| 3927 | return (!not_equal(var->ref(),value)); |
| 3928 | else |
| 3929 | return false; |
| 3930 | } |
| 3931 | |
| 3932 | static inline bool string(exprtk::symbol_table<T>& symbol_table, const std::string& string_name, const std::string& str) |
| 3933 | { |
| 3934 | exprtk::details::stringvar_node<T>* str_node = symbol_table.get_stringvar(string_name); |
| 3935 | |
| 3936 | if (str_node) |
| 3937 | return (str_node->ref() == str); |
| 3938 | else |
| 3939 | return false; |
| 3940 | } |
| 3941 | }; |
| 3942 | |
| 3943 | { |
| 3944 | static const std::size_t rounds = 10; |
nothing calls this directly
no outgoing calls
no test coverage detected