Tuesday, October 22, 2013

static function in named namespace

Newsgroup: comp.lang.c++

Subject: static function in named namespace

From: Yuanfang Chen <tabloid.adroit@...>

Date: Tue, 22 Oct 2013 12:49:36 -0700 (PDT)



Hi all,



I am confused by code like this



namespace foo {



static void bar() {...}



}



what's the purpose of static here?



best,

yuanfang







via Usenet Forums - Usenet Search,Free Usenet - comp.lang.c++ http://www.pocketbinaries.com/usenet-forums/showthread.php?113370-static-function-in-named-namespace&goto=newpost

View all the progranning help forums at:

http://www.pocketbinaries.com/usenet-forums/forumdisplay.php?128-Coding-forums

No comments:

Post a Comment