On 11/19/18 12:38 PM, masthayty...@gmail.com wrote:
> 
> class MyClass{
> public:
>    MyClass() {};
>    void myFunction();
>    TableHandler myTableHandler;
> }
> 
> void MyClass::myFunction(){
>    const int x = 1;
>    myTableHandler.add_value("myCol", x);
> }
> 
> I get the error message "no matching function for call to 
> 'dealii::TableHandler::add_value(const char [3], const int&) const.' And it 
> says

If I add a semicolon after your class declaration, then this compiles 
successfully for me. The missing semicolon makes me think that the code you 
show is not the code you actually have. Can you provide a small testcase that 
presents exactly the issue you have?

Best
  W.

-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to