/*!
 * @brief Template C++-header file
 *
 * This is a template C++-header file
 * @author  <+AUTHOR+>
 * @date    <+DATE+>
 * @file    <+FILE+>
 * @version 0.1
 */
#ifndef <+FILE_CAPITAL+>_H
#define <+FILE_CAPITAL+>_H

#include <iostream>


/*!
 * @brief Template class
 */
class <+FILE_PASCAL+>
{
private:
public:
  <+FILEBASE+>() {
    <+CURSOR+>
  }

  template<typename CharT, typename Traits>
    friend std::basic_ostream<CharT, Traits>&
    operator<<(std::basic_ostream<CharT, Traits>& os, const CoutTest& this_);

  template<typename CharT, typename Traits>
    friend std::basic_istream<CharT, Traits>&
    operator>>(std::basic_istream<CharT, Traits>& is, CoutTest& this_);
};  // class <+FILE_PASCAL+>


template<typename CharT, typename Traits>
std::basic_ostream<CharT, Traits>&
operator<<(std::basic_ostream<CharT, Traits>& os, const CoutTest& this_)
{

  return os;
}


template<typename CharT, typename Traits>
std::basic_istream<CharT, Traits>&
operator>>(std::basic_istream<CharT, Traits>& is, CoutTest& this_)
{

  return is;
}


#endif  // <+FILE_CAPITAL+>_H

/*!
 * @brief Template C++-header file
 *
 * This is a template C++-header file
 * @author  <+AUTHOR+>
 * @date    <+DATE+>
 * @file    <+FILE+>
 * @version 0.1
 */
#ifndef <+FILE_CAPITAL+>_H
#define <+FILE_CAPITAL+>_H


/*!
 * @brief Template class
 */
class <+FILEBASE+>
{
private:
public:
  <+FILEBASE+>() {
    <+CURSOR+>
  }
};  // class <+FILEBASE+>


#endif  // <+FILE_CAPITAL+>_H

--- 
+++ 
@@ -10,18 +10,46 @@
 #ifndef <+FILE_CAPITAL+>_H
 #define <+FILE_CAPITAL+>_H
 
+#include <iostream>
+
 
 /*!
  * @brief Template class
  */
-class <+FILEBASE+>
+class <+FILE_PASCAL+>
 {
 private:
 public:
   <+FILEBASE+>() {
     <+CURSOR+>
   }
-};  // class <+FILEBASE+>
+
+  template<typename CharT, typename Traits>
+    friend std::basic_ostream<CharT, Traits>&
+    operator<<(std::basic_ostream<CharT, Traits>& os, const CoutTest& this_);
+
+  template<typename CharT, typename Traits>
+    friend std::basic_istream<CharT, Traits>&
+    operator>>(std::basic_istream<CharT, Traits>& is, CoutTest& this_);
+};  // class <+FILE_PASCAL+>
+
+
+template<typename CharT, typename Traits>
+std::basic_ostream<CharT, Traits>&
+operator<<(std::basic_ostream<CharT, Traits>& os, const CoutTest& this_)
+{
+
+  return os;
+}
+
+
+template<typename CharT, typename Traits>
+std::basic_istream<CharT, Traits>&
+operator>>(std::basic_istream<CharT, Traits>& is, CoutTest& this_)
+{
+
+  return is;
+}
 
 
 #endif  // <+FILE_CAPITAL+>_H
Enable to treat with std::cout and std::cin
