title: Undefined symbol while using boost:regex_error in C++?
body: <p>I'm using boost library for regular expression, I used boost::regex() function to compile the regular expression. I have to catch the exception thrown by this function call. So I used <code>boost:regex_error</code> in catch().</p>
  
  <p>But the use of this function gives following error:</p>
  
  <pre><code>undefined symbol: _ZTIN5boost11regex_errorE
  </code></pre>
  
  <p>What is the reason of above error?</p>