Hello i want to send std::array as a parameter to my virtual function
class Handler:
{
public:
template <std::size_t N>
virtual void handle(const std::array<char, N>& msg, std::vector<boost::asio::const_buffer>& buffers) = 0;
};
but gcc said templates may not be 'virtual'. So how i pass a std::array to my funcition?
Aucun commentaire:
Enregistrer un commentaire