[interfacekit] oddish?
- From: Adi Oanca <e2joseph@xxxxxxxxxx>
- To: Interface Kit Team <interfacekit@xxxxxxxxxxxxx>
- Date: Mon, 16 Feb 2004 12:12:43 +0200
Hi!
Have another question for you guys.
class Layer
{
public:
[...]
void Invalidate(const BRegion ®ion);
[...]
}
int main()
{
[...]
lay->Invalidate(BRect(225,10,350,400));//BRegion(lay->Bounds()));
[...]
}
Why is this working? Why is there no compiler error?
Does it have something to do with the fact that one BRegion constructor
is declared like this:
BRegion(const BRect rect);
?
Adi.
- Follow-Ups:
- [interfacekit] Re: oddish?
- From: Ingo Weinhold
Other related posts:
- » [interfacekit] oddish?
- » [interfacekit] Re: oddish?
- » [interfacekit] Re: oddish?
- » [interfacekit] Re: oddish?
- » [interfacekit] Re: oddish?
- » [interfacekit] Re: oddish?
- » [interfacekit] Re: oddish?
- [interfacekit] Re: oddish?
- From: Ingo Weinhold