lundi 5 octobre 2020

c++ member function argument is not used in the function body, what is this case?

I see this code, it's a class member function definition. But the argument is just std::tuple<> and it is not being used in the function body. What does this mean? (from dlib.net dlib/dnn/core.h)

    add_layer (         
        std::tuple<> 
    ) : add_layer() {}

Aucun commentaire:

Enregistrer un commentaire