[DEBUG] template specific implementation with gcc error