[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Static functions
From: Thiago Macieira <thiago.macieira () kdemail ! net>
Date: 2004-02-16 14:55:58
Message-ID: 200402161155.59160.thiago.macieira () kdemail ! net
[Download RAW message or body]
Dirk Mueller wrote:
>so your compiler can compile this?
Sure:
$ cat /tmp/test.cpp
namespace MyFunctions
{
static void function();
}
void testit( )
{
MyFunctions::function();
}
void MyFunctions::function()
{
}
$ g++ -c -o /tmp/test.o /tmp/test.cpp; echo $?
0
--
Thiago Macieira - Registered Linux user #65028
thiago (AT) macieira (DOT) info
ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic