Well, if you want to avoid std:: (not sure why you want to do that?) then create a struct with elements of type double and char and refer to that instead.
If you use tuple then you are referring to something in the std:: namespace so "std" is going to appear somehow.
I think you're misunderstanding the guideline, sort of like a game of "telephone".
The guideline is, don't use "using namespace X;" in the global scope of a header file, because it pollutes the global namespace for anyone using the header.
Thanks Ganado and lastchance,
Well, Generally in the header file, it is not recommend to use a namespace. But I understood Ganado's explanation. Thanks.
Well, Generally in the header file, it is not recommend to use a namespace.
No it is perfectly acceptable to use namespaces in header files, however using "using" statements in the global namespace in a header is considered a bad practice.