[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 4220f5e 2/8: Assume default allocator always
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 4220f5e 2/8: Assume default allocator always |
Date: |
Sat, 20 Mar 2021 09:55:29 -0400 (EDT) |
branch: master
commit 4220f5e4fe579cd8aab86be8f84d272f3a20963a
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Assume default allocator always
---
tools/pete-2.1.1/et_vector.hpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/pete-2.1.1/et_vector.hpp b/tools/pete-2.1.1/et_vector.hpp
index 17fbee6..5916847 100644
--- a/tools/pete-2.1.1/et_vector.hpp
+++ b/tools/pete-2.1.1/et_vector.hpp
@@ -136,11 +136,11 @@ struct LeafFunctor<std::vector<T>, EvalLeaf1>
struct LengthLeaf {};
-template<class T, class Allocator>
-struct LeafFunctor<std::vector<T, Allocator>, LengthLeaf>
+template<class T>
+struct LeafFunctor<std::vector<T>, LengthLeaf>
{
typedef int Type_t;
- static Type_t apply(std::vector<T, Allocator> const& v, LengthLeaf const&)
+ static Type_t apply(std::vector<T> const& v, LengthLeaf const&)
{return lmi::ssize(v);}
};
- [lmi-commits] [lmi] master updated (1be41b7 -> 1d15a4a), Greg Chicares, 2021/03/20
- [lmi-commits] [lmi] master d5f870a 1/8: Improve documentation, Greg Chicares, 2021/03/20
- [lmi-commits] [lmi] master 4220f5e 2/8: Assume default allocator always,
Greg Chicares <=
- [lmi-commits] [lmi] master 44b780e 7/8: Deduce Eval()'s return type, Greg Chicares, 2021/03/20
- [lmi-commits] [lmi] master de67a28 5/8: Improve an error message, Greg Chicares, 2021/03/20
- [lmi-commits] [lmi] master cd6c9ea 3/8: Favor the One True type-parameter-key, Greg Chicares, 2021/03/20
- [lmi-commits] [lmi] master 4c4a0e4 4/8: Add a PETE length-of function, Greg Chicares, 2021/03/20
- [lmi-commits] [lmi] master 1d15a4a 8/8: Isolate PETE directory weirdness to a redirection header, Greg Chicares, 2021/03/20
- [lmi-commits] [lmi] master 334ac64 6/8: Add a function template to transform a PETE expression to a std::vector, Greg Chicares, 2021/03/20