[aspectc-user] Can you attach an aspect to the main() function?

Bill Sousan blsousan at yahoo.com
Fri Sep 15 01:41:36 CEST 2006


1. Can you attach an aspect to the main() function ? 
Or have a class constructed right after main starts? 
In other words, I need to "weave" in some
initialization code to start inside main() but before
any functions or methods are called.  My other aspects
depend on this initialization.

2. Will AspectC++ allow you to attach to an array
index?  That is can you attach an aspect to something
like:

value = array[x];

Thanks,
Bill


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the aspectc-user mailing list