Update for newer C++.

This commit is contained in:
David Given
2025-08-11 16:21:03 +01:00
parent dcbe7ec41d
commit 022df995aa
2 changed files with 9 additions and 1 deletions

View File

@@ -295,7 +295,7 @@ namespace doj
implement "std::ostream operator<< (std::ostream&, const Ty&)". implement "std::ostream operator<< (std::ostream&, const Ty&)".
*/ */
template<class Ty> template<class Ty>
struct alphanum_less : public std::binary_function<Ty, Ty, bool> struct alphanum_less
{ {
bool operator()(const Ty& left, const Ty& right) const bool operator()(const Ty& left, const Ty& right) const
{ {

View File

@@ -0,0 +1,8 @@
from build.c import clibrary
clibrary(
name="alphanum",
srcs=[],
hdrs={"dep/alphanum/alphanum.h": "./alphanum.h"},
)