eos icon indicating copy to clipboard operation
eos copied to clipboard

How to include multi_index.hpp

Open Charles-ch opened this issue 3 years ago • 3 comments
trafficstars

I want to use multi_index.hpp from cdt,how to include it from cdt?

Charles-ch avatar Apr 26 '22 12:04 Charles-ch

do you mean reference multi_index.hpp in smart contract file?

kingsnow-2008 avatar May 23 '22 03:05 kingsnow-2008

do you mean reference multi_index.hpp in smart contract file?

En,For example,I want to use multi_index under contracts directory of eos.

Charles-ch avatar May 25 '22 09:05 Charles-ch

You can use “eosio.hpp” that include the file “multi_index.hpp” in your smart contract。you can refer to https://developers.eos.io/manuals/eosio.cdt/latest/how-to-guides/multi-index/index。 Maybe it can help you。

kingsnow-2008 avatar May 26 '22 02:05 kingsnow-2008