Hello Everyone http://paste.ubuntu.com/648218/ please check this link. I have facing the problem in this application. it is based on database. I have created two object once for WApplication and other for class A. WApplication is working fine. when I have added the object of class A it show error. I want to enter database at specfic location. means like center. I have define the layout in class A. eroor is /usr/include/boost/function/function_template.hpp: In static member function ‘static R boost::detail::function::function_invoker1<FunctionPtr, R, T0>::invoke(boost::detail::function::function_buffer&, T0) [with FunctionPtr = A* (*)(), R = Wt::WApplication*, T0 = const Wt::WEnvironment&]’: /usr/include/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = A* (*)(), R = Wt::WApplication*, T0 = const Wt::WEnvironment&]’ /usr/include/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = A* (*)(), R = Wt::WApplication*, T0 = const Wt::WEnvironment&, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’ /usr/include/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = A* (*)(), R = Wt::WApplication*, T0 = const Wt::WEnvironment&, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’ /home/parvinder/Desktop/website/source/test.C:21:32: instantiated from here /usr/include/boost/function/function_template.hpp:95:39: error: too many arguments to function /usr/include/boost/function/function_template.hpp:95:39: error: cannot convert ‘A*’ to ‘Wt::WApplication*’ in return
please help me. ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
