#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DeviceCore/DevUtil.h>
|
| bool | operator() (const std::string &a, const std::string &b) const noexcept |
◆ operator()()
| bool Slic3r::NumericStrCompare::operator() |
( |
const std::string & | a, |
|
|
const std::string & | b ) const |
|
inlinenoexcept |
111 {
112 int ai = -1;
113 try {
114 ai = std::stoi(a);
115 } catch (...) { };
116
117 int bi = -1;
118 try {
119 bi = std::stoi(b);
120 } catch (...) { };
121
122 return ai < bi;
123 }
The documentation for this struct was generated from the following file:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DeviceCore/DevUtil.h