encoding: use an enum for EncoderTag and EstimatorTag

Avoids two static constants.

Change-Id: I5e95d07c7f2600c422c115c928b3031b40a27e35
diff --git a/src/encoding/encoding-buffer-fwd.hpp b/src/encoding/encoding-buffer-fwd.hpp
index 88f6dea..b9720e9 100644
--- a/src/encoding/encoding-buffer-fwd.hpp
+++ b/src/encoding/encoding-buffer-fwd.hpp
@@ -27,21 +27,10 @@
 namespace ndn {
 namespace encoding {
 
-using Tag = bool;
-
-/**
- * @brief Tag for EncodingImpl to indicate that Encoder is requested
- * Implementation of the tag may change to class. Use of true directly
- * as a template parameter is discouraged.
- */
-static const Tag EncoderTag = true;
-
-/**
- * @brief Tag for EncodingImpl to indicate that Estimator is requested
- * Implementation of the tag may change to class. Use of false directly
- * as a template parameter is discouraged.
- */
-static const Tag EstimatorTag = false;
+enum Tag {
+  EncoderTag   = true, ///< Tag for EncodingImpl to indicate that Encoder is requested
+  EstimatorTag = false ///< Tag for EncodingImpl to indicate that Estimator is requested
+};
 
 template<Tag TAG>
 class EncodingImpl;