This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; add our main ~/.emacs.d/ to the load-path (if it hasn't already been done) | |
;;(add-to-list 'load-path "~/.emacs.d/") | |
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") | |
("marmalade" . "http://marmalade-repo.org/packages/") | |
("melpa" . "http://melpa.milkbox.net/packages/"))) | |
(package-initialize) | |
;; Package Require function. It resolves any require dependencies | |
;; through the package manager. | |
(setq package-refresh-first-time nil) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <type_traits> | |
namespace detail { | |
// No need to give up constexpr for std::forward | |
template <class T> | |
constexpr T && forward(typename std::remove_reference<T>::type & t) noexcept { | |
return static_cast<T &&>(t); | |
} |
NewerOlder