From issues-return-100662-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Thu Oct 10 13:12:15 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2FBDB180668 for ; Thu, 10 Oct 2019 15:12:15 +0200 (CEST) Received: (qmail 97942 invoked by uid 500); 10 Oct 2019 13:12:11 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 97609 invoked by uid 99); 10 Oct 2019 13:12:11 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Oct 2019 13:12:11 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 95548E3160 for ; Thu, 10 Oct 2019 13:12:10 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 0332F78231F for ; Thu, 10 Oct 2019 13:12:07 +0000 (UTC) Date: Thu, 10 Oct 2019 13:12:07 +0000 (UTC) From: "Maxim Muzafarov (Jira)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-11666) C++ : remove macro usages in the examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-11666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Muzafarov updated IGNITE-11666: ------------------------------------- Fix Version/s: 2.8 > C++ : remove macro usages in the examples > ----------------------------------------- > > Key: IGNITE-11666 > URL: https://issues.apache.org/jira/browse/IGNITE-11666 > Project: Ignite > Issue Type: Improvement > Components: examples, platforms > Reporter: Pavel Kuznetsov > Assignee: Igor Sapego > Priority: Major > Labels: c++, examples > Fix For: 2.8 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently c++ examples are using internal macros. For example to specify how to serialize/deserialize user's c++ structs. > {code:c++} > IGNITE_BINARY_TYPE_START(ignite::examples::Person) > typedef ignite::examples::Person Person; > IGNITE_BINARY_GET_TYPE_ID_AS_HASH(Person) > IGNITE_BINARY_GET_TYPE_NAME_AS_IS(Person) > IGNITE_BINARY_GET_FIELD_ID_AS_HASH > IGNITE_BINARY_IS_NULL_FALSE(Person) > IGNITE_BINARY_GET_NULL_DEFAULT_CTOR(Person) > //... > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)