[mlpack-git] [mlpack/mlpack] Use move semantics to set a given reference tree in NeighborSearch class. (#765)

Ryan Curtin notifications at github.com
Fri Aug 19 09:28:16 EDT 2016


> +/**
> + * @file deprecated.hpp
> + * @author Marcos Pividori.
> + *
> + * Definition of the DEPRECATED macro.
> + */
> +#ifndef MLPACK_CORE_UTIL_DEPRECATED_HPP
> +#define MLPACK_CORE_UTIL_DEPRECATED_HPP
> +
> +#ifdef __GNUG__
> +#define DEPRECATED __attribute__((deprecated))
> +#elif defined(_MSC_VER)
> +#define DEPRECATED __declspec(deprecated)
> +#else
> +#pragma message("WARNING: You need to implement DEPRECATED for this compiler")
> +#define DEPRECATED

Do you think we could call this `mlpack_deprecated` so it has the same format (lowercase) as the few other mlpack macros?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/765/files/89477fee9091533d32cd668d3a2f14fc2b6b5801#r75480901
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160819/702fd59d/attachment.html>


More information about the mlpack-git mailing list