From 8f2f5be242eb00f67f0abc132ce4eae3d6fa44e9 Mon Sep 17 00:00:00 2001 From: conrad Date: Thu, 2 Jun 2022 13:51:23 +1000 Subject: [PATCH] add note --- include/armadillo_bits/memory.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/armadillo_bits/memory.hpp b/include/armadillo_bits/memory.hpp index 8e992235..a85c503a 100644 --- a/include/armadillo_bits/memory.hpp +++ b/include/armadillo_bits/memory.hpp @@ -77,6 +77,8 @@ memory::acquire(const uword n_elem) } #elif defined(_MSC_VER) { + // Windoze is too primitive to handle C++17 std::aligned_alloc() + //out_memptr = (eT *) malloc(sizeof(eT)*n_elem); //out_memptr = (eT *) _aligned_malloc( sizeof(eT)*n_elem, 16 ); // lives in malloc.h