From 26dcdbbf0a4bd2c50ccb96af26dbd9f5518a4ccf Mon Sep 17 00:00:00 2001 From: conrad Date: Sat, 9 Aug 2025 23:28:59 +1000 Subject: [PATCH] add explanation --- include/armadillo_bits/Cube_bones.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/armadillo_bits/Cube_bones.hpp b/include/armadillo_bits/Cube_bones.hpp index 139138bc..cb662f90 100644 --- a/include/armadillo_bits/Cube_bones.hpp +++ b/include/armadillo_bits/Cube_bones.hpp @@ -401,13 +401,13 @@ class Cube : public BaseCube< eT, Cube > arma_cold inline bool load(const hdf5_name& spec, const file_type type = hdf5_binary); arma_cold inline bool load( std::istream& is, const file_type type = auto_detect); - [[deprecated]] inline bool quiet_save(const std::string name, const file_type type = arma_binary) const; - [[deprecated]] inline bool quiet_save(const hdf5_name& spec, const file_type type = hdf5_binary) const; - [[deprecated]] inline bool quiet_save( std::ostream& os, const file_type type = arma_binary) const; + [[deprecated("use save() instead")]] inline bool quiet_save(const std::string name, const file_type type = arma_binary) const; + [[deprecated("use save() instead")]] inline bool quiet_save(const hdf5_name& spec, const file_type type = hdf5_binary) const; + [[deprecated("use save() instead")]] inline bool quiet_save( std::ostream& os, const file_type type = arma_binary) const; - [[deprecated]] inline bool quiet_load(const std::string name, const file_type type = auto_detect); - [[deprecated]] inline bool quiet_load(const hdf5_name& spec, const file_type type = hdf5_binary); - [[deprecated]] inline bool quiet_load( std::istream& is, const file_type type = auto_detect); + [[deprecated("use load() instead")]] inline bool quiet_load(const std::string name, const file_type type = auto_detect); + [[deprecated("use load() instead")]] inline bool quiet_load(const hdf5_name& spec, const file_type type = hdf5_binary); + [[deprecated("use load() instead")]] inline bool quiet_load( std::istream& is, const file_type type = auto_detect); // iterators