Learnt that enable_if must be used in definitions when it is used in declaration.