title: Should I make my own framework?
body: <p>Should I make my own framework by wrapping up the STL classes and/or Boost libraries so that if I need to change the implementation of the string, vectors, lists, etc. or I need to write functions that MFC, other other libraries or even other platforms would need to use their format, I can easily mutate them to meet the criteria.  this is what I'm thinking.</p>
  
  <pre><code>// In my framework:
  namespace MyFX { 
      typedef std::string String;
  };
  
  // Port specific (MFC in this case)
  CString ToCString(const MyFx::String &amp;str) { /* magic */ }
  
  // Port specific (.NET specific)
  System::String^ ToManagedString(const MyFx::String &amp;str) { /* magic */ }
  </code></pre>
  
  <p>Am I reinventing the wheel too much?</p>
  
  <p>I would use the <em>MyFx::String</em> in UI interfaces between the UI and the other layers.</p>