Aop

Target

to do some additional task (eg logging) before enter and after exit of specified functions, in a generic way

Analysis

there is a methodology called AOP(Aspect Oriented Programming)

AOP is mature in Java, eg https://www.ifi.uzh.ch/dam/jcr:764702da-842f-49fa-b475-5e1e148c03f2/9_AOP.pdf

however not in C++there is no good techniques or tools to do AOP

Methods

Powered by Jekyll and Theme by solid

本站总访问量